/* ==========================================================================
   NKORA — Corporate website stylesheet
   Colors and type are defined once here as tokens. Change them here only.
   ========================================================================== */

:root {
  /* Color */
  --brand: #0E4F4A;        /* Nkora petrol green: primary */
  --brand-700: #0A3D39;
  --brand-50: #E7F0EE;
  --ochre: #B7791F;        /* Restrained accent: small marks only */
  --ochre-50: #FAF1E1;
  --ink: #14212B;          /* Main text */
  --ink-2: #4A5862;        /* Secondary text */
  --line: #DCE3E1;
  --paper: #FFFFFF;
  --mist: #F2F5F4;
  --success: #1E7B4F;
  --danger: #B42318;

  /* Type */
  --font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-sm: 0.875rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.25rem;
  --fs-lg: 1.5625rem;
  --fs-xl: clamp(1.75rem, 1.3rem + 1.6vw, 2.4rem);
  --fs-2xl: clamp(2.3rem, 1.4rem + 3.6vw, 3.9rem);

  /* Shape */
  --r-sm: 6px;
  --r-md: 14px;
  --r-lg: 22px;
  --shadow-card: 0 1px 2px rgba(14, 79, 74, 0.05), 0 8px 24px -14px rgba(14, 79, 74, 0.22);
  --shadow-panel: 0 2px 4px rgba(14, 79, 74, 0.05), 0 28px 60px -24px rgba(14, 79, 74, 0.35);

  /* Layout */
  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 9vw, 7.5rem);
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-700); }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.15; letter-spacing: -0.02em; margin: 0; font-weight: 700; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--brand); color: #fff; padding: 0.75rem 1rem; border-radius: var(--r-sm);
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 1rem; color: #fff; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.7rem 1.35rem;
  font: 600 1rem/1.2 var(--font); text-decoration: none;
  border-radius: var(--r-sm); border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-700); color: #fff; }
.btn-secondary { background: transparent; color: var(--brand); border-color: #B9CBC8; }
.btn-secondary:hover { border-color: var(--brand); color: var(--brand-700); background: var(--brand-50); }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { background: var(--brand-50); color: var(--brand-700); }
.btn-sm { min-height: 42px; padding: 0.5rem 1rem; font-size: 0.95rem; }
.btn[disabled] { opacity: .6; cursor: progress; }

.text-link { font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 1px; }
.text-link:hover { border-bottom-color: var(--ochre); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 2rem; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 32px; height: 32px; flex: none; }
.brand-word { font-weight: 800; font-size: 1.2rem; letter-spacing: 0.14em; }

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 0.25rem; }
.main-nav ul a {
  display: block; padding: 0.55rem 0.8rem; border-radius: var(--r-sm);
  color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 0.98rem;
}
.main-nav ul a:hover { color: var(--ink); background: var(--mist); }
.main-nav ul a[aria-current="page"] { color: var(--brand); font-weight: 600; }
.header-cta { flex: none; }

.nav-toggle {
  display: none; margin-left: auto; width: 46px; height: 46px;
  background: none; border: 1.5px solid var(--line); border-radius: var(--r-sm); cursor: pointer; color: var(--ink);
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -20px rgba(20, 33, 43, .25);
    padding: 0.75rem var(--gutter) 1.5rem;
    display: none;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { padding: 0.9rem 0.25rem; font-size: 1.1rem; border-bottom: 1px solid var(--mist); border-radius: 0; }
  .main-nav ul a:hover { background: none; }
  .main-nav .nav-mobile-cta { display: flex; margin-top: 1.25rem; width: 100%; }
}
@media (min-width: 961px) { .main-nav .nav-mobile-cta { display: none; } }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section-mist { background: var(--mist); }
.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head h2 { font-size: var(--fs-xl); }
.section-head p { margin-top: 1rem; font-size: var(--fs-md); color: var(--ink-2); line-height: 1.5; }

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 6.5rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.hero h1 { font-size: var(--fs-2xl); line-height: 1.04; letter-spacing: -0.035em; font-weight: 700; max-width: 12ch; }
.hero-lead { font-size: var(--fs-md); color: var(--ink-2); margin-top: 1.5rem; max-width: 34em; line-height: 1.55; }
.hero-origin {
  display: flex; align-items: flex-start; gap: 0.6rem; margin-top: 1.25rem;
  font-size: 0.98rem; color: var(--ink); max-width: 34em;
}
.hero-origin svg { width: 20px; height: 20px; color: var(--ochre); flex: none; margin-top: 3px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.25rem; }

/* Hero visual: the day's activity across Nkora products */
.ops-panel {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-panel); padding: 1.5rem;
}
.ops-panel::before {
  /* offset plate behind the panel */
  content: ""; position: absolute; inset: 22px -18px -18px 22px; z-index: -1;
  background: var(--brand); border-radius: var(--r-lg);
}
.ops-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.ops-top small { display: block; color: var(--ink-2); font-size: 0.85rem; }
.ops-total { font-size: 1.7rem; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ops-total span { font-size: 0.95rem; font-weight: 600; color: var(--ink-2); margin-left: 0.2rem; }
.ops-bars { display: flex; align-items: flex-end; gap: 5px; height: 48px; }
.ops-bars i { display: block; width: 9px; border-radius: 3px 3px 1px 1px; background: var(--brand-50); }
.ops-bars i.on { background: var(--brand); }
.ops-list { list-style: none; margin-top: 0.5rem; }
.ops-row {
  display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 0.9rem;
  padding: 0.95rem 0; border-bottom: 1px solid var(--mist);
}
.ops-row:last-child { border-bottom: 0; padding-bottom: 0.2rem; }
.ops-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; }
.ops-icon svg { width: 20px; height: 20px; }
.ops-title { font-weight: 600; font-size: 0.98rem; line-height: 1.3; }
.ops-meta { font-size: 0.82rem; color: var(--ink-2); }
.ops-value { text-align: right; font-weight: 600; font-size: 0.95rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.badge { display: inline-block; font-size: 0.75rem; font-weight: 600; padding: 0.15rem 0.5rem; border-radius: 999px; margin-top: 0.2rem; }
.badge-paid { background: #E4F3EA; color: var(--success); }
.badge-due { background: var(--ochre-50); color: #8A5A12; }
.meter { display: block; width: 96px; height: 6px; background: var(--mist); border-radius: 99px; overflow: hidden; margin-top: 0.35rem; margin-left: auto; }
.meter b { display: block; height: 100%; background: var(--brand); border-radius: 99px; }
.cycle { display: flex; gap: 3px; justify-content: flex-end; margin-top: 0.4rem; }
.cycle i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.cycle i.on { background: var(--ochre); }

/* The single orchestrated motion: activity rows arrive on load */
@media (prefers-reduced-motion: no-preference) {
  .js .ops-row { opacity: 0; transform: translateY(8px); animation: row-in .5s cubic-bezier(.2,.7,.2,1) forwards; }
  .js .ops-row:nth-child(1) { animation-delay: .25s; }
  .js .ops-row:nth-child(2) { animation-delay: .4s; }
  .js .ops-row:nth-child(3) { animation-delay: .55s; }
  .js .ops-row:nth-child(4) { animation-delay: .7s; }
  .js .ops-bars i { transform-origin: bottom; animation: bar-in .6s cubic-bezier(.2,.7,.2,1) both; }
}
@keyframes row-in { to { opacity: 1; transform: none; } }
@keyframes bar-in { from { transform: scaleY(0.15); } }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; }
}
@media (max-width: 480px) {
  .ops-panel { padding: 1.1rem; }
  .ops-panel::before { inset: 16px -10px -12px 16px; }
  .ops-row { grid-template-columns: 36px 1fr auto; gap: 0.7rem; }
  .ops-icon { width: 36px; height: 36px; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- Intro ---------- */
.intro-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.intro-grid h2 { font-size: var(--fs-xl); max-width: 13ch; }
.intro-body { font-size: var(--fs-md); line-height: 1.6; color: var(--ink-2); max-width: 38em; }
.intro-body p:first-child { color: var(--ink); font-weight: 500; }
@media (max-width: 800px) { .intro-grid { grid-template-columns: 1fr; } }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.product-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--shadow-card);
}
.product-head { display: flex; align-items: center; gap: 0.9rem; }
.product-glyph { width: 48px; height: 48px; border-radius: 12px; background: var(--brand); color: #fff; display: grid; place-items: center; flex: none; }
.product-glyph svg { width: 24px; height: 24px; }
.product-card h3 { font-size: var(--fs-lg); }
.product-tagline { font-size: 1rem; color: var(--ochre); font-weight: 600; margin: 0.1rem 0 0; }
.product-desc { margin-top: 1.25rem; color: var(--ink-2); }
.chip-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1.25rem; }
.chip-list li { font-size: 0.86rem; padding: 0.3rem 0.7rem; border-radius: 999px; background: var(--mist); color: var(--ink); }
.product-more { margin-top: 1rem; }
.product-more summary {
  cursor: pointer; font-weight: 600; font-size: 0.95rem; color: var(--brand);
  list-style: none; display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.25rem 0;
}
.product-more summary::-webkit-details-marker { display: none; }
.product-more summary svg { width: 16px; height: 16px; transition: transform .2s ease; }
.product-more[open] summary svg { transform: rotate(180deg); }
.product-more .chip-list { margin-top: 0.75rem; }
.chip-list.is-soft li { background: var(--ochre-50); }
.product-foot { margin-top: auto; padding-top: 1.75rem; }
@media (max-width: 860px) { .product-grid { grid-template-columns: 1fr; } }

/* ---------- Solutions ---------- */
.solution-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; list-style: none; }
.solution { border-top: 2px solid var(--ink); padding-top: 1.5rem; }
.solution svg { width: 28px; height: 28px; color: var(--brand); margin-bottom: 1.25rem; }
.solution h3 { font-size: var(--fs-md); margin-bottom: 0.6rem; }
.solution p { color: var(--ink-2); font-size: 1rem; }
@media (max-width: 960px) { .solution-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 2rem; } }
@media (max-width: 560px) { .solution-grid { grid-template-columns: 1fr; } }

/* ---------- Principles (dark band) ---------- */
.band { background: var(--brand); color: #fff; }
.band .section-head h2 { color: #fff; }
.band .section-head p { color: #CFE0DC; }
.principle-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.2); }
.principle { padding: 2rem 2rem 2rem 0; border-bottom: 1px solid rgba(255,255,255,.2); display: grid; grid-template-columns: 44px 1fr; gap: 1rem; }
.principle:nth-child(even) { padding-left: 2rem; border-left: 1px solid rgba(255,255,255,.2); }
.principle svg { width: 28px; height: 28px; color: #F0C57A; margin-top: 2px; }
.principle h3 { font-size: var(--fs-md); margin-bottom: 0.4rem; }
.principle p { color: #D6E5E2; }
@media (max-width: 760px) {
  .principle-grid { grid-template-columns: 1fr; }
  .principle, .principle:nth-child(even) { padding: 1.75rem 0; border-left: 0; }
}

/* ---------- Market cards ---------- */
.market-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 1.5rem; list-style: none; }
.market-card { border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.75rem; background: #fff; display: flex; flex-direction: column; min-height: 210px; }
.market-card.is-base { background: var(--ink); color: #fff; border-color: var(--ink); }
.market-role { font-size: 0.9rem; font-weight: 600; color: var(--brand); display: inline-flex; align-items: center; gap: 0.45rem; }
.market-role::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.market-card.is-base .market-role { color: #F0C57A; }
.market-card h3 { font-size: var(--fs-lg); margin-top: auto; padding-top: 2rem; }
.market-card p { margin-top: 0.3rem; color: var(--ink-2); font-size: 0.98rem; }
.market-card.is-base p { color: #C9D3D8; }
.market-note { margin-top: 2rem; max-width: 44em; color: var(--ink-2); font-size: var(--fs-md); line-height: 1.55; }
@media (max-width: 860px) { .market-grid { grid-template-columns: 1fr; } .market-card { min-height: 0; } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.about-body { font-size: 1.1rem; color: var(--ink-2); max-width: 38em; }
.about-body p:first-child { color: var(--ink); font-size: var(--fs-md); line-height: 1.5; }
.statement-list { list-style: none; display: grid; gap: 1.25rem; }
.statement { border-left: 3px solid var(--ochre); padding: 0.25rem 0 0.25rem 1.5rem; }
.statement h3 { font-size: 1rem; color: var(--brand); margin-bottom: 0.4rem; }
.statement p { font-size: var(--fs-md); line-height: 1.45; font-weight: 500; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- Trust ---------- */
.trust { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.trust h2 { font-size: var(--fs-xl); }
.trust-intro { color: var(--ink-2); margin-top: 1rem; max-width: 30em; }
.trust-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 2rem; }
.trust-list li { display: grid; grid-template-columns: 24px 1fr; gap: 0.8rem; }
.trust-list svg { width: 22px; height: 22px; color: var(--brand); margin-top: 2px; }
.trust-list strong { display: block; margin-bottom: 0.2rem; }
.trust-list span { color: var(--ink-2); font-size: 0.98rem; }
@media (max-width: 860px) { .trust { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .trust-list { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.4fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-grid h2 { font-size: var(--fs-xl); }
.contact-lead { color: var(--ink-2); margin-top: 1rem; font-size: 1.1rem; max-width: 30em; }
.contact-details { list-style: none; margin-top: 2rem; display: grid; gap: 1.25rem; }
.contact-details li { display: grid; grid-template-columns: 24px 1fr; gap: 0.8rem; }
.contact-details svg { width: 22px; height: 22px; color: var(--brand); margin-top: 2px; }
.contact-details small { display: block; color: var(--ink-2); font-size: 0.88rem; }
.contact-details strong { font-weight: 600; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--shadow-card); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field .opt { font-weight: 400; color: var(--ink-2); }
.field input, .field select, .field textarea {
  font: 400 1rem/1.4 var(--font); color: var(--ink); background: #fff;
  border: 1.5px solid #C9D3D1; border-radius: var(--r-sm); padding: 0.75rem 0.85rem; min-height: 48px; width: 100%;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-50); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 0.86rem; min-height: 0; }
.field-error:empty { display: none; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.form-note { font-size: 0.88rem; color: var(--ink-2); margin: 0; flex: 1 1 240px; }
.form-note-direct { margin-top: 1rem; padding-left: 0.9rem; border-left: 2px solid var(--line); }
.form-status { margin-top: 1rem; padding: 0.9rem 1rem; border-radius: var(--r-sm); font-size: 0.95rem; }
.form-status:empty { display: none; }
.form-status.is-success { background: #E4F3EA; color: #145236; }
.form-status.is-error { background: #FDECEA; color: #7A1A12; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } .form-actions .btn { width: 100%; } }

/* ---------- Page header (inner pages) ---------- */
.page-hero { padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 5vw, 3.5rem); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: var(--fs-2xl); letter-spacing: -0.035em; max-width: 16ch; }
.page-hero p { margin-top: 1.25rem; font-size: var(--fs-md); color: var(--ink-2); max-width: 36em; line-height: 1.55; }
.breadcrumb { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; gap: 0.5rem; font-size: 0.9rem; color: var(--ink-2); }
.breadcrumb a { color: var(--ink-2); }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; color: #9AA7AE; }

/* ---------- Product detail (products page) ---------- */
.product-detail { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: clamp(2rem, 6vw, 5rem); padding: clamp(3rem, 6vw, 4.5rem) 0; border-bottom: 1px solid var(--line); }
.product-detail:last-child { border-bottom: 0; }
.product-detail h2 { font-size: var(--fs-xl); }
.product-detail .product-tagline { font-size: 1.1rem; margin-top: 0.4rem; }
.product-detail .detail-actions { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.detail-body > p { font-size: 1.1rem; color: var(--ink-2); }
.detail-body h3 { font-size: 1rem; margin: 2rem 0 0.9rem; }
.check-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem 1.5rem; }
.check-list li { display: grid; grid-template-columns: 20px 1fr; gap: 0.6rem; }
.check-list svg { width: 18px; height: 18px; color: var(--brand); margin-top: 4px; }
@media (max-width: 860px) { .product-detail { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .check-list { grid-template-columns: 1fr; } }

/* ---------- Legal pages ---------- */
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: clamp(2rem, 6vw, 4.5rem); padding: clamp(3rem, 6vw, 4.5rem) 0 var(--section); }
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; font-size: 0.92rem; }
.legal-toc h2 { font-size: 0.95rem; margin-bottom: 0.75rem; }
.legal-toc ol { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.45rem; color: var(--ink-2); }
.legal-toc a { color: var(--ink-2); text-decoration: none; }
.legal-toc a:hover { color: var(--brand); text-decoration: underline; }
.prose { max-width: 70ch; min-width: 0; overflow-wrap: break-word; }
.prose h2 { font-size: var(--fs-lg); margin: 2.75rem 0 1rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--fs-md); margin: 1.75rem 0 0.6rem; }
.prose p, .prose li { color: #2E3B44; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1em; display: grid; gap: 0.4rem; }
.prose .callout { background: var(--mist); border-left: 3px solid var(--brand); padding: 1.1rem 1.25rem; border-radius: 0 var(--r-sm) var(--r-sm) 0; margin: 1.5rem 0; }
.legal-meta { color: var(--ink-2); font-size: 0.95rem; }
.ph { background: var(--ochre-50); color: #7A4F10; padding: 0 0.3em; border-radius: 3px; font-weight: 600; overflow-wrap: anywhere; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.25rem; }
}

/* ---------- CTA strip ---------- */
.cta-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-strip h2 { font-size: var(--fs-xl); max-width: 20ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #C9D3D8; padding: clamp(3.5rem, 7vw, 5rem) 0 2rem; font-size: 0.98rem; }
.site-footer a { color: #E6ECEF; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 2.5rem; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand:hover { color: #fff; text-decoration: none; }
.footer-tagline { margin-top: 1rem; color: #fff; font-size: 1.1rem; font-weight: 500; max-width: 18em; }
.footer-contact { margin-top: 1.25rem; display: grid; gap: 0.3rem; }
.footer-col h2 { font-size: 0.95rem; color: #fff; margin-bottom: 1rem; letter-spacing: 0; }
.footer-col ul { list-style: none; display: grid; gap: 0.6rem; }
.footer-bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: 0.9rem; }
.social-links { list-style: none; display: flex; gap: 1.25rem; }
.social-links:empty { display: none; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 420px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Sub-solutions (product with two experiences) ---------- */
.sub-list { list-style: none; display: grid; gap: 0.75rem; margin-top: 1.25rem; }
.sub-list li { padding: 0.8rem 1rem; border-left: 3px solid var(--brand); border-radius: 0 10px 10px 0; background: var(--mist); }
.sub-list strong { display: block; line-height: 1.3; }
.sub-list span { display: block; font-size: 0.92rem; color: var(--ink-2); }
.detail-body .sub-list { margin: 1.5rem 0 0.5rem; }

/* ---------- Maison Pro page ---------- */
.mp-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.page-hero .by-nkora { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 0.95rem; color: var(--brand); margin: 0 0 1rem; }
.by-mark { width: 20px; height: 20px; }
.mp-hero h1 { max-width: none; }
.page-hero .mp-slogan { font-size: var(--fs-lg); color: var(--ink); font-weight: 600; margin-top: 0.75rem; letter-spacing: -0.01em; line-height: 1.3; }
.mp-hero .hero-actions { margin-top: 2rem; }
@media (max-width: 960px) { .mp-hero-grid { grid-template-columns: 1fr; } }

.platform-map { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-panel); padding: clamp(1.25rem, 3vw, 2rem); }
.map-caption { font-weight: 700; font-size: 1.05rem; margin-bottom: 1.25rem; text-align: center; }
.map-root { display: flex; align-items: center; gap: 0.9rem; justify-content: center; background: var(--brand); color: #fff; border-radius: var(--r-md); padding: 1rem 1.25rem; max-width: 320px; margin: 0 auto; }
.map-root-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.14); display: grid; place-items: center; flex: none; }
.map-root-icon svg { width: 24px; height: 24px; }
.map-root strong { display: block; font-size: 1.25rem; line-height: 1.2; }
.map-root small { display: block; color: #CFE0DC; font-size: 0.86rem; }
.map-branches { position: relative; height: 44px; margin: 0 25%; }
.map-branches::before { content: ""; position: absolute; left: 50%; top: 0; height: 22px; border-left: 2px solid var(--line); }
.map-branches i { position: absolute; left: 0; right: 0; top: 22px; height: 22px; border: 2px solid var(--line); border-bottom: 0; border-radius: 10px 10px 0 0; }
.map-leaves { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.map-leaves a { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.35rem; padding: 1.25rem 0.75rem; border: 1.5px solid var(--line); border-radius: var(--r-md); text-decoration: none; color: var(--ink); height: 100%; transition: border-color .18s ease, background-color .18s ease; }
.map-leaves a:hover { border-color: var(--brand); background: var(--brand-50); color: var(--ink); }
.map-leaf-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; margin-bottom: 0.25rem; }
.map-leaf-icon svg { width: 22px; height: 22px; }
.map-leaves strong { font-size: 1.1rem; }
.map-leaves small { color: var(--ink-2); font-size: 0.88rem; line-height: 1.35; }
.page-hero .map-note { text-align: center; color: var(--ink-2); font-size: 0.92rem; margin: 1.25rem auto 0; line-height: 1.5; }

.mp-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.mp-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: var(--r-md); padding: clamp(1.5rem, 3vw, 2.25rem); background: #fff; box-shadow: var(--shadow-card); scroll-margin-top: calc(var(--header-h) + 16px); }
.mp-card-head { display: block; }
.mp-card h3 { font-size: var(--fs-lg); }
.mp-card .product-tagline { color: var(--ink); font-weight: 500; font-size: 1.02rem; margin-top: 0.3rem; line-height: 1.4; }
.mp-card-text { color: var(--ink-2); margin: 1.25rem 0 1.5rem; }
.mp-card .check-list { grid-template-columns: 1fr 1fr; }
.mp-note { display: grid; gap: 0.3rem; background: var(--ochre-50); border-left: 3px solid var(--ochre); border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: 1rem 1.1rem; margin: -0.25rem 0 1.5rem; font-size: 0.95rem; }
.mp-note span { color: #4A3A1E; }
@media (max-width: 900px) { .mp-cards { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .mp-card .check-list { grid-template-columns: 1fr; } }

.feature-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.5rem; }
.feature svg { width: 26px; height: 26px; color: var(--brand); margin-bottom: 1rem; }
.feature h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.feature p { color: var(--ink-2); font-size: 0.98rem; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

.audience { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.audience h2 { font-size: var(--fs-xl); }
.audience > div p { color: var(--ink-2); margin-top: 1rem; font-size: 1.1rem; max-width: 28em; }
.audience-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.audience-list li { display: grid; grid-template-columns: 22px 1fr; gap: 0.7rem; padding: 0.95rem 0.5rem 0.95rem 0; border-bottom: 1px solid var(--line); }
.audience-list svg { width: 20px; height: 20px; color: var(--brand); margin-top: 3px; }
.audience-list li:last-child { grid-column: 1 / -1; }
@media (max-width: 860px) { .audience { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .audience-list { grid-template-columns: 1fr; } }

.mp-cta { text-align: center; display: flex; flex-direction: column; align-items: center; }
.mp-cta h2 { font-size: var(--fs-xl); max-width: 22ch; }
.mp-cta-pair { display: flex; align-items: center; gap: 1rem; margin: 1.25rem 0 2rem; font-size: var(--fs-md); font-weight: 600; color: #F0C57A; }
.pair-sep { width: 1px; height: 1.4em; background: rgba(255,255,255,.35); }
.mp-cta-by { margin-top: 1.5rem; color: #CFE0DC; font-size: 0.92rem; }

.hero-visual { margin: 0; }
.data-label { display: flex; align-items: center; gap: 0.45rem; margin-top: 1rem; font-size: 0.82rem; color: var(--ink-2); }
.data-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ochre); flex: none; }

/* ---------- Illustrations ---------- */
.illus { width: 100%; height: auto; border-radius: var(--r-md); margin-bottom: 1.75rem; }
.split-head { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.split-head .illus { margin-bottom: 0; }
@media (max-width: 860px) { .split-head { grid-template-columns: 1fr; } }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(18px); }
  .js [data-reveal].is-in {
    opacity: 1; transform: none;
    transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1);
    transition-delay: var(--reveal-delay, 0ms);
  }
  .product-card, .mp-card, .feature, .market-card, .map-leaves a, .form-card { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
  .product-card:hover, .mp-card:hover, .form-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(14,79,74,.06), 0 22px 40px -22px rgba(14,79,74,.35); }
  .feature:hover, .market-card:not(.is-base):hover { transform: translateY(-3px); border-color: #B9CBC8; box-shadow: var(--shadow-card); }
  .solution svg, .feature svg { transition: transform .25s ease; }
  .solution:hover svg, .feature:hover svg { transform: translateY(-2px) scale(1.06); }
  .btn { transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease; }
  .btn:hover { transform: translateY(-1px); }
  .btn:active { transform: translateY(0); }
  .ops-panel { transition: transform .4s cubic-bezier(.2,.7,.2,1); }
  .ops-panel:hover { transform: translateY(-4px); }
}

/* ---------- 404 ---------- */
.notfound { padding: clamp(5rem, 12vw, 9rem) 0; }
.notfound h1 { font-size: var(--fs-2xl); letter-spacing: -0.03em; }
.notfound p { margin-top: 1rem; color: var(--ink-2); font-size: var(--fs-md); max-width: 32em; }
.notfound .hero-actions { margin-top: 2rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
