/* ==========================================================================
   Multibul Ltd — design system
   Hand-built static site. No framework, no build step.

   Colour choices were checked for WCAG contrast rather than eyeballed:
     text on page          16.55:1  AAA
     muted on page          5.44:1  AA
     muted on surface       4.95:1  AA
     accent-ink on page     4.84:1  AA
     white on primary      13.28:1  AAA
     white on accent        3.70:1  large text only  <- never small white
                                                        text on --accent
   ========================================================================== */

:root {
  --primary:        #17333F;
  --primary-dark:   #0E222B;
  --primary-light:  #2A5464;
  --secondary:      #5E7D89;

  --accent:         #C2703D;   /* fills, large button text only */
  --accent-ink:     #A85A2B;   /* the accent as small text on light bg */
  --accent-soft:    #EFE0D2;

  --bg:             #FBFAF8;
  --surface:        #F2EFEA;
  --white:          #FFFFFF;

  --text:           #141C20;
  --text-muted:     #566A72;
  --border:         #E0DAD3;
  --border-strong:  #CFC7BD;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px   rgba(23, 51, 63, .07);
  --shadow-md: 0 6px 28px  rgba(23, 51, 63, .10);
  --shadow-lg: 0 20px 60px rgba(23, 51, 63, .14);

  --font-h: 'Sora', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-b: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1180px;
  --gutter: 24px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-h);
  color: var(--primary);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 .6em;
  font-weight: 600;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

::selection { background: var(--accent-soft); color: var(--primary-dark); }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--primary);
  color: var(--white);
  padding: 12px 20px;
  z-index: 200;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------- layout ---------- */

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

.section { padding: 92px 0; }
.section--tight { padding: 64px 0; }
.section--surface { background: var(--surface); }
.section--dark { background: var(--primary); color: #D8E2E6; }
.section--dark h2,
.section--dark h3 { color: var(--white); }

.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--text-muted); font-size: 1.08rem; margin-bottom: 0; }
.section--dark .section-head p { color: #AFC2C9; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-h);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 14px;
}
.section--dark .eyebrow { color: var(--accent-soft); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-h);
  font-weight: 600;
  font-size: 1rem;           /* large enough that white on accent clears AA */
  line-height: 1;
  padding: 15px 26px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn--primary { background: var(--primary); color: var(--white); }
.btn--primary:hover { background: var(--primary-dark); box-shadow: var(--shadow-md); }

.btn--accent { background: var(--accent); color: var(--white); }
.btn--accent:hover { background: var(--accent-ink); box-shadow: var(--shadow-md); }

.btn--ghost { background: transparent; color: var(--primary); border-color: var(--border-strong); }
.btn--ghost:hover { border-color: var(--primary); background: var(--white); }

.section--dark .btn--ghost { color: var(--white); border-color: rgba(255,255,255,.35); }
.section--dark .btn--ghost:hover { background: rgba(255,255,255,.08); border-color: var(--white); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 248, .88);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1.16rem;
  color: var(--primary);
  letter-spacing: -0.02em;
}
.brand:hover { text-decoration: none; }

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--primary);
  display: grid;
  place-items: center;
  flex: none;
}
.brand-mark svg { width: 19px; height: 19px; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: .97rem;
  font-weight: 500;
}
.nav-links a:hover { background: var(--surface); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--primary); font-weight: 600; background: var(--surface); }

.nav-cta { display: inline-flex; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  background: var(--primary);
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 19px;
  height: 2px;
  background: var(--primary);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }

/* ---------- hero ---------- */

.hero {
  padding: 92px 0 84px;
  background:
    radial-gradient(1000px 420px at 82% -8%, rgba(194,112,61,.10), transparent 62%),
    radial-gradient(760px 420px at 6% 8%, rgba(23,51,63,.07), transparent 60%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin-bottom: .45em; }
.hero h1 em {
  font-style: normal;
  color: var(--accent-ink);
}
.hero-lead {
  font-size: 1.16rem;
  color: var(--text-muted);
  max-width: 54ch;
  margin-bottom: 2rem;
}

.hero-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 30px;
}
.hero-panel h3 { font-size: 1.02rem; margin-bottom: 18px; }
.hero-stat { display: flex; align-items: baseline; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--border); }
.hero-stat:last-of-type { border-bottom: 0; }
.hero-stat b {
  font-family: var(--font-h);
  font-size: 1.45rem;
  color: var(--primary);
  min-width: 68px;
  font-weight: 600;
}
.hero-stat span { color: var(--text-muted); font-size: .95rem; line-height: 1.5; }

/* ---------- marquee strip of capabilities ---------- */

.strip {
  background: var(--primary);
  color: #CBD9DE;
  padding: 20px 0;
}
.strip-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 38px;
  justify-content: center;
  align-items: center;
  font-family: var(--font-h);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .02em;
}
.strip-inner span { display: inline-flex; align-items: center; gap: 9px; }
.strip-inner svg { width: 15px; height: 15px; flex: none; color: var(--accent-soft); }

/* ---------- cards ---------- */

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.card h3 { margin-bottom: .5em; }
.card p { color: var(--text-muted); font-size: .98rem; margin-bottom: 0; }

.card-ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.card-ico svg { width: 22px; height: 22px; }

.card--plain { background: transparent; border: 0; padding: 0; }
.card--plain:hover { transform: none; box-shadow: none; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  font-family: var(--font-h);
  font-weight: 600;
  font-size: .93rem;
  color: var(--accent-ink);
}
.card-link svg { width: 15px; height: 15px; transition: transform .15s ease; }
.card:hover .card-link svg { transform: translateX(3px); }

/* numbered list for "why us" */
.numbered { counter-reset: n; }
.numbered .card { position: relative; padding-top: 34px; }
.numbered .card::before {
  counter-increment: n;
  content: counter(n, decimal-leading-zero);
  position: absolute;
  top: 24px;
  right: 26px;
  font-family: var(--font-h);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--border-strong);
  line-height: 1;
}

/* ---------- split feature rows ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}
.split + .split { margin-top: 74px; }
.split--flip .split-media { order: -1; }

.split-media {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px;
  min-height: 260px;
  display: grid;
  align-content: center;
  gap: 14px;
}
.split-media .bar {
  height: 11px;
  border-radius: var(--radius-pill);
  background: var(--border-strong);
}
.split-media .bar.a { width: 86%; background: var(--primary); }
.split-media .bar.b { width: 62%; background: var(--primary-light); }
.split-media .bar.c { width: 73%; background: var(--accent); }
.split-media .bar.d { width: 44%; }

.tick-list { list-style: none; margin: 18px 0 0; padding: 0; }
.tick-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 11px;
  color: var(--text-muted);
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .52em;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 2px var(--accent);
}
.section--dark .tick-list li { color: #B9CAD1; }

/* ---------- cta band ---------- */

.cta-band {
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 58px 48px;
  text-align: center;
  color: #CBD9DE;
}
.cta-band h2 { color: var(--white); margin-bottom: .45em; }
.cta-band p { max-width: 58ch; margin-inline: auto; margin-bottom: 1.8em; color: #AFC2C9; }
.cta-band .btn-row { justify-content: center; }

/* ---------- contact ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }

.detail {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 16px;
}
.detail:last-child { margin-bottom: 0; }
.detail .label {
  font-family: var(--font-h);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.detail .value { font-size: 1.06rem; color: var(--primary); font-weight: 500; line-height: 1.6; }
.detail .value a { color: var(--primary); }

.form-note {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font-h);
  font-size: .88rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--primary);
}
.field input,
.field textarea {
  width: 100%;
  font-family: var(--font-b);
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field textarea:focus { border-color: var(--primary-light); outline: none; box-shadow: 0 0 0 3px rgba(42,84,100,.14); }

/* ---------- prose (legal pages) ---------- */

.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; color: var(--text-muted); }
.prose li { margin-bottom: .5em; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--primary-dark);
  color: #9FB4BC;
  padding: 66px 0 30px;
  font-size: .95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.site-footer h4 {
  color: var(--white);
  font-size: .82rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #9FB4BC; }
.site-footer a:hover { color: var(--white); }
.footer-brand { display: inline-flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.footer-brand .brand-mark { background: rgba(255,255,255,.12); }
.footer-brand span {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--white);
}
.footer-about { max-width: 34ch; }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-content: space-between;
  align-items: center;
  font-size: .89rem;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 20px; }

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
  .section { padding: 76px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }

  .nav-toggle { display: grid; }
  .nav-links {
    display: none;
    position: absolute;
    left: var(--gutter);
    right: var(--gutter);
    top: 72px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 10px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-cta { display: none; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .split--flip .split-media { order: 0; }
  .split + .split { margin-top: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-band { padding: 44px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 480px) {
  :root { --gutter: 18px; }
  .hero { padding: 58px 0 54px; }
  .card { padding: 22px; }
  .hero-panel { padding: 22px; }
  .btn { width: 100%; justify-content: center; }
  .btn-row { flex-direction: column; }
}

/* ==========================================================================
   Additions: product status, chips, quotes, FAQ, form select
   Contrast checked: badge text is --primary on --accent-soft (12:1+),
   never --accent-ink on a tinted fill, which would fall under 4.5:1 at 12px.
   ========================================================================== */

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip {
  font-family: var(--font-h);
  font-size: .92rem;
  font-weight: 500;
  color: var(--primary);
  background: var(--white);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  padding: 9px 17px;
}

.badge {
  display: inline-block;
  font-family: var(--font-h);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--primary);
  background: var(--accent-soft);
  border: 1px solid #E2CBB5;
  border-radius: var(--radius-pill);
  padding: 7px 12px;
  margin-bottom: 16px;
}
.badge--dev { background: var(--surface); border-color: var(--border-strong); }

.product-cat {
  display: block;
  font-family: var(--font-h);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 16px;
}

.strip-inner span strong { color: var(--white); font-weight: 600; }

.quote { margin: 0; }
.quote p {
  font-size: 1.04rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 18px;
}
.quote footer { font-size: .9rem; color: var(--text-muted); }
.quote footer strong {
  display: block;
  font-family: var(--font-h);
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 2px;
}

.big {
  display: block;
  font-family: var(--font-h);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.15;
}

.faq { max-width: 820px; margin-inline: auto; }
.faq details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 56px 20px 24px;
  font-family: var(--font-h);
  font-weight: 600;
  font-size: 1.04rem;
  color: var(--primary);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--accent-ink);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 24px 22px; color: var(--text-muted); margin: 0; }

.field select {
  width: 100%;
  font-family: var(--font-b);
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.field select:focus { border-color: var(--primary-light); outline: none; box-shadow: 0 0 0 3px rgba(42,84,100,.14); }

.link-list { list-style: none; margin: 14px 0 0; padding: 0; }
.link-list li { margin-bottom: 8px; }

.footer-grid--4 { grid-template-columns: 1.5fr 1fr 1fr 1.4fr; }
@media (max-width: 1024px) { .footer-grid--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px)  { .footer-grid--4 { grid-template-columns: 1fr; } }