/* ============================================================
   SERETAN® — a United Global Funding® product
   Design system inherited from unitedglobalfunding.com
   ============================================================ */

:root {
  --ink:      #0a0e17;
  --ink-2:    #10151f;
  --ink-3:    #1a2030;
  --paper:    #f7f4ed;
  --paper-2:  #efe9dc;
  --line-dk:  rgba(255,255,255,0.12);
  --line-lt:  rgba(16,21,31,0.12);

  --on-ink:        #f4f1e9;
  --on-ink-soft:   rgba(244,241,233,0.66);
  --on-ink-faint:  rgba(244,241,233,0.40);
  --on-paper:      #15191f;
  --on-paper-soft: rgba(21,25,31,0.62);

  --vc: #3f6dff;
  --pe: #c79a3e;
  --ok: #3fbf86;
  --warn: #d4a017;
  --alert: #d6453c;
  --vc-soft: color-mix(in oklab, var(--vc) 14%, transparent);
  --pe-soft: color-mix(in oklab, var(--pe) 16%, transparent);
  --ok-soft: color-mix(in oklab, var(--ok) 16%, transparent);
  --alert-soft: color-mix(in oklab, var(--alert) 14%, transparent);

  --font-display: "Newsreader", Georgia, serif;
  --font-sans: "Schibsted Grotesk", system-ui, sans-serif;

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --sec-y: clamp(72px, 11vw, 152px);
  --radius: 4px;
  --radius-lg: 12px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--on-paper);
  line-height: 1.5;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--vc); color: #fff; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.skip {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--on-ink); color: var(--ink); padding: 0.6em 1em; border-radius: 999px;
}
.skip:focus { left: var(--gutter); }

/* ---------- Type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 420;
  line-height: 1.0;
  letter-spacing: -0.02em;
  font-size: clamp(2.6rem, 5.6vw, 5rem);
  text-wrap: balance;
}
.h-serif {
  font-family: var(--font-display);
  font-weight: 440;
  line-height: 1.04;
  letter-spacing: -0.015em;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  text-wrap: balance;
}
.h2 {
  font-family: var(--font-display);
  font-weight: 440;
  line-height: 1.05;
  letter-spacing: -0.01em;
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  text-wrap: balance;
}
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.32rem);
  line-height: 1.5;
  color: var(--on-paper-soft);
  max-width: 56ch;
  text-wrap: pretty;
}
.kicker {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.kicker::before {
  content: ""; width: 22px; height: 1px; background: currentColor; opacity: 0.5;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: 0.92em 1.5em;
  font-size: 0.92rem; font-weight: 600; letter-spacing: 0.01em;
  border-radius: 999px;
  transition: transform 0.4s var(--ease), background 0.3s, color 0.3s, box-shadow 0.3s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--solid { background: var(--ink); color: var(--on-ink); }
.btn--solid:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(0,0,0,0.5); }
.btn--vc { background: var(--vc); color: #fff; }
.btn--vc:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -14px var(--vc); }
.btn--ghost { border: 1px solid var(--line-lt); color: var(--on-paper); }
.btn--ghost:hover { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.btn--ghost-ink { border: 1px solid var(--line-dk); color: var(--on-ink); }
.btn--ghost-ink:hover { background: var(--on-ink); color: var(--ink); }

.arm-tag {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.42em 0.85em; border-radius: 999px;
}
.arm-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.arm-tag--vc { color: var(--vc); background: var(--vc-soft); }
.arm-tag--pe { color: var(--pe); background: var(--pe-soft); }
.arm-tag--ok { color: var(--ok); background: var(--ok-soft); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 18px max(var(--gutter), calc((100% - var(--maxw)) / 2));
  transition: background 0.4s var(--ease), backdrop-filter 0.4s, padding 0.4s var(--ease), border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: color-mix(in oklab, var(--paper) 86%, transparent);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-bottom-color: var(--line-lt);
  padding-block: 12px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__logo { height: 30px; width: auto; display: block; }
.brand__logo--dark { display: none; }
.nav.is-stuck .brand__logo--light { display: none; }
.nav.is-stuck .brand__logo--dark { display: block; }
.brand__rule { width: 1px; height: 22px; background: currentColor; opacity: 0.22; flex: none; }
.nav { color: var(--on-ink); }
.nav.is-stuck { color: var(--on-paper); }
.brand__seretan { display: inline-flex; align-items: center; }
.brand__word { height: 22px; width: auto; display: block; }
.brand__word--dark { display: none; }
.nav.is-stuck .brand__word--light { display: none; }
.nav.is-stuck .brand__word--dark { display: block; }
.brand__prod {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 440;
  letter-spacing: -0.02em;
  color: var(--on-ink);
  padding-left: 12px;
  border-left: 1px solid var(--line-dk);
  line-height: 1;
}
.brand__prod sup { font-size: 0.55em; }
.nav.is-stuck .brand__prod { color: var(--on-paper); border-left-color: var(--line-lt); }
.brand__lockup { height: 36px; width: auto; display: block; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a {
  font-size: 0.9rem; font-weight: 500; color: rgba(244,241,233,0.74);
  position: relative; transition: color 0.25s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -5px; width: 0; height: 1.5px;
  background: var(--on-ink); transition: width 0.3s var(--ease);
}
.nav__links a:hover { color: var(--on-ink); }
.nav__links a:hover::after { width: 100%; }
.nav.is-stuck .nav__links a { color: var(--on-paper-soft); }
.nav.is-stuck .nav__links a::after { background: var(--on-paper); }
.nav.is-stuck .nav__links a:hover { color: var(--on-paper); }
.nav__cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav .btn--solid { background: var(--on-ink); color: var(--ink); padding: 0.62em 1.1em; font-size: 0.86rem; }
.nav .btn--solid svg { width: 14px; height: 14px; }
.nav.is-stuck .btn--solid { background: var(--ink); color: var(--on-ink); }
.nav .btn--login {
  border: 1px solid var(--line-dk); color: var(--on-ink);
  padding: 0.62em 1.1em; font-size: 0.86rem;
}
.nav .btn--login:hover { background: var(--on-ink); color: var(--ink); }
.nav.is-stuck .btn--login { border-color: var(--line-lt); color: var(--on-paper); }
.nav.is-stuck .btn--login:hover { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.nav__burger {
  display: none; width: 42px; height: 42px; align-items: center; justify-content: center;
  border: 1px solid var(--line-dk); border-radius: 10px;
}
.nav__burger span { display: block; width: 18px; height: 1.6px; background: var(--on-ink); position: relative; transition: 0.3s var(--ease); }
.nav__burger span::before, .nav__burger span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.6px; background: var(--on-ink); transition: 0.3s var(--ease);
}
.nav.is-stuck .nav__burger { border-color: var(--line-lt); }
.nav.is-stuck .nav__burger span,
.nav.is-stuck .nav__burger span::before,
.nav.is-stuck .nav__burger span::after { background: var(--on-paper); }
.nav__burger span::before { top: -6px; }
.nav__burger span::after { top: 6px; }
body.menu-open .nav__burger span { background: transparent; }
body.menu-open .nav__burger span::before { top: 0; transform: rotate(45deg); }
body.menu-open .nav__burger span::after { top: 0; transform: rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 99;
  background: var(--ink); color: var(--on-ink);
  padding: 96px var(--gutter) 28px;
  display: flex; flex-direction: column; gap: 4px;
  transform: translateY(-100%); opacity: 0; pointer-events: none;
  transition: transform 0.5s var(--ease), opacity 0.4s;
  overflow-y: auto;
}
body.menu-open .drawer { transform: translateY(0); opacity: 1; pointer-events: auto; }
.drawer a {
  font-family: var(--font-display); font-size: 2rem; font-weight: 420;
  padding: 14px 0; border-bottom: 1px solid var(--line-dk);
}
.drawer__cta { margin-top: auto; display: flex; flex-direction: column; gap: 12px; padding-top: 28px; }
.drawer__cta .btn--solid { background: var(--on-ink); color: var(--ink); }

/* ---------- Hero ---------- */
.hero { background: var(--ink); color: var(--on-ink); position: relative; overflow: hidden; }
.hero__grid-bg {
  position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  background-image:
    linear-gradient(var(--line-dk) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dk) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 78%);
          mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 78%);
}
.hero__glow {
  position: absolute; pointer-events: none; border-radius: 50%; filter: blur(90px); opacity: 0.5;
}
.hero__glow--vc { width: 50vw; height: 50vw; left: -14vw; top: 8%; background: var(--vc); opacity: 0.22; }
.hero__glow--pe { width: 46vw; height: 46vw; right: -12vw; bottom: -6%; background: var(--pe); opacity: 0.16; }
.hero__inner { position: relative; padding: clamp(108px, 13vh, 148px) 0 clamp(52px, 7vh, 88px); }
.hero__top { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero__head .display { margin-top: 22px; max-width: 14ch; }
.hero__head .display em { font-style: italic; color: var(--on-ink); }
.hero__lead {
  margin: 22px 0 0; font-size: clamp(1.02rem, 1.4vw, 1.22rem);
  color: var(--on-ink-soft); max-width: 46ch; line-height: 1.55; text-wrap: pretty;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px;
  color: var(--on-ink-faint); font-size: 0.82rem; letter-spacing: 0.04em;
}
.hero__meta span { display: inline-flex; align-items: center; gap: 0.45em; }
.hero__meta span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--vc); }

/* ---------- Trust ---------- */
.trust { background: var(--ink); color: var(--on-ink-faint); border-top: 1px solid var(--line-dk); }
.trust__inner { display: flex; align-items: center; gap: clamp(28px,5vw,64px); flex-wrap: wrap; padding: 26px 0; }
.trust__label { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; }
.trust__items { display: flex; align-items: center; gap: clamp(28px,5vw,56px); flex-wrap: wrap; }
.trust__items span { font-family: var(--font-display); font-size: 1.15rem; color: var(--on-ink-soft); letter-spacing: 0.01em; }

/* ---------- Sections ---------- */
.section { padding-block: var(--sec-y); scroll-margin-top: 62px; }
#top { scroll-margin-top: 0; }
body.menu-open { overflow: hidden; }
.section--ink { background: var(--ink); color: var(--on-ink); }
.section--paper2 { background: var(--paper-2); }
.sec-head { max-width: 62ch; }
.sec-head .kicker { color: var(--on-paper-soft); }
.section--ink .sec-head .kicker { color: var(--on-ink-soft); }
.sec-head h2 { margin-top: 18px; }
.sec-head .lead { margin-top: 18px; }
.section--ink .lead { color: var(--on-ink-soft); }

/* ---------- Why / value cards ---------- */
.value-grid { margin-top: clamp(40px,5vw,60px); display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); }
.value-card {
  border: 1px solid var(--line-lt); border-radius: var(--radius-lg); padding: clamp(24px,2.4vw,30px);
  background: var(--paper); display: flex; flex-direction: column;
  transition: transform 0.45s var(--ease), border-color 0.4s;
}
.section--ink .value-card { background: var(--ink-2); border-color: var(--line-dk); }
.value-card:hover { transform: translateY(-4px); border-color: var(--on-paper); }
.section--ink .value-card:hover { border-color: color-mix(in oklab, var(--vc) 50%, var(--line-dk)); }
.value-card__icon {
  width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center;
  background: var(--ink); color: var(--on-ink); margin-bottom: 22px;
}
.section--ink .value-card__icon { background: color-mix(in oklab, var(--vc) 18%, var(--ink-3)); color: var(--vc); }
.value-card__icon svg { width: 22px; height: 22px; }
.value-card h3 { font-family: var(--font-display); font-weight: 460; font-size: 1.32rem; letter-spacing: -0.01em; }
.value-card p { color: var(--on-paper-soft); font-size: 0.92rem; line-height: 1.55; margin-top: 11px; text-wrap: pretty; }
.section--ink .value-card p { color: var(--on-ink-soft); }

/* ---------- Pillars / playbooks ---------- */
.playbooks { margin-top: clamp(44px, 6vw, 72px); display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.play {
  border: 1px solid var(--line-dk); border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 40px); background: var(--ink-2);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; height: 100%;
}
.play .langs { margin-top: auto; padding-top: 8px; }
.play::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--vc);
}
.play h3 { font-family: var(--font-display); font-weight: 440; font-size: clamp(1.4rem,2.3vw,1.9rem); margin-top: 18px; letter-spacing: -0.01em; }
.play p { color: var(--on-ink-soft); margin-top: 12px; font-size: 0.97rem; line-height: 1.55; text-wrap: pretty; }
.play__idx { font-family: var(--font-display); font-size: 1rem; color: var(--on-ink-faint); }

/* ---------- Pipeline ---------- */
.flow { margin-top: clamp(44px, 6vw, 72px); display: grid; gap: 0; }
.flow-step {
  display: grid; grid-template-columns: 88px 1fr; gap: 28px; padding: 28px 0;
  border-top: 1px solid var(--line-lt); align-items: start;
}
.flow-step:first-child { border-top: none; padding-top: 0; }
.flow-step__no {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 460;
  color: var(--vc); border: 1px solid color-mix(in oklab, var(--vc) 40%, var(--line-lt));
  background: var(--vc-soft);
}
.flow-step h3 { font-family: var(--font-display); font-weight: 460; font-size: 1.45rem; letter-spacing: -0.01em; }
.flow-step p { color: var(--on-paper-soft); margin-top: 8px; font-size: 0.98rem; line-height: 1.55; max-width: 68ch; text-wrap: pretty; }

/* ---------- Capabilities ---------- */
.focus-grid { margin-top: 32px; display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); }
.focus-card {
  border: 1px solid var(--line-lt); border-radius: var(--radius-lg); padding: clamp(24px,2.4vw,32px);
  background: var(--paper); position: relative; overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.4s, box-shadow 0.4s;
  display: flex; flex-direction: column;
}
.section--ink .focus-card { background: var(--ink-2); border-color: var(--line-dk); }
.focus-card { --arm: var(--vc); }
.focus-card:hover { transform: translateY(-4px); border-color: color-mix(in oklab, var(--arm) 55%, var(--line-lt)); box-shadow: 0 22px 44px -28px color-mix(in oklab, var(--arm) 60%, #000); }
.focus-card__icon {
  width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center;
  background: color-mix(in oklab, var(--arm) 12%, transparent); color: var(--arm); margin-bottom: 22px;
  font-family: var(--font-display); font-size: 1.05rem;
}
.focus-card__icon svg { width: 23px; height: 23px; }
.focus-card h3 { font-family: var(--font-display); font-weight: 460; font-size: 1.28rem; letter-spacing: -0.01em; }
.focus-card p { color: var(--on-paper-soft); font-size: 0.92rem; line-height: 1.55; margin-top: 12px; flex: 1; text-wrap: pretty; }
.section--ink .focus-card p { color: var(--on-ink-soft); }

/* ---------- Metrics ---------- */
.metrics { margin-top: clamp(40px,5vw,60px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-lt); border: 1px solid var(--line-lt); border-radius: var(--radius-lg); overflow: hidden; }
.section--ink .metrics { background: var(--line-dk); border-color: var(--line-dk); }
.metric { background: var(--paper); padding: clamp(26px,3vw,38px) clamp(20px,2.4vw,30px); }
.section--ink .metric { background: var(--ink-2); }
.metric__num { font-family: var(--font-display); font-weight: 440; font-size: clamp(1.7rem,3.2vw,2.6rem); line-height: 1.1; letter-spacing: -0.02em; }
.metric__lbl { font-size: 0.82rem; color: var(--on-paper-soft); margin-top: 12px; letter-spacing: 0.02em; line-height: 1.4; }
.section--ink .metric__lbl { color: var(--on-ink-soft); }
.note {
  margin-top: 18px; font-size: 0.82rem; color: var(--on-paper-soft); max-width: 72ch; line-height: 1.5;
}
.section--ink .note { color: var(--on-ink-faint); }

/* ---------- Principles ---------- */
.principles { margin-top: clamp(40px,5vw,60px); border: 1px solid var(--line-dk); border-radius: var(--radius-lg); overflow: hidden; }
.principle {
  display: grid; grid-template-columns: 72px 220px 1fr; gap: 20px; align-items: start;
  padding: 22px 28px; border-top: 1px solid var(--line-dk); background: var(--ink-2);
}
.principle:first-child { border-top: none; }
.principle__n { font-family: var(--font-display); color: var(--vc); font-size: 1.05rem; }
.principle__t { font-weight: 600; font-size: 0.98rem; }
.principle p { color: var(--on-ink-soft); font-size: 0.92rem; line-height: 1.5; }

/* ---------- Audiences ---------- */
.audience { margin-top: clamp(40px,5vw,60px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.aud-card {
  border: 1px solid var(--line-lt); border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 40px); background: var(--paper);
  position: relative; overflow: hidden;
}
.aud-card--ink { background: var(--ink-2); border-color: var(--line-dk); color: var(--on-ink); }
.aud-card h3 { font-family: var(--font-display); font-weight: 440; font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 16px; letter-spacing: -0.01em; }
.aud-card p { margin-top: 12px; color: var(--on-paper-soft); line-height: 1.55; text-wrap: pretty; }
.aud-card--ink p { color: var(--on-ink-soft); }
.aud-card ul { list-style: none; margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.aud-card li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: var(--on-paper-soft); }
.aud-card--ink li { color: var(--on-ink-soft); }
.aud-card li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--vc); margin-top: 8px; flex: none; }

/* ---------- Governance list ---------- */
.gov-grid { margin-top: clamp(40px,5vw,60px); display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.gov-item {
  border: 1px solid var(--line-dk); border-radius: var(--radius-lg);
  padding: clamp(24px, 2.6vw, 32px); background: var(--ink-2);
}
.gov-item h3 { font-family: var(--font-display); font-weight: 460; font-size: 1.35rem; letter-spacing: -0.01em; }
.gov-item p { color: var(--on-ink-soft); margin-top: 10px; font-size: 0.95rem; line-height: 1.55; text-wrap: pretty; }

/* ---------- Form / portal ---------- */
.portal { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px,5vw,72px); margin-top: clamp(40px,5vw,60px); align-items: start; }
.portal__aside .h-serif { margin-top: 18px; }
.portal__aside .lead { margin-top: 18px; }
.portal__contacts { margin-top: 36px; display: flex; flex-direction: column; gap: 10px; }
.portal__contacts a { color: var(--on-ink); font-weight: 600; border-bottom: 1px solid var(--line-dk); padding-bottom: 2px; align-self: flex-start; }
.portal__contacts a:hover { border-color: var(--on-ink); }
.portal__steps { margin-top: 30px; display: flex; flex-direction: column; gap: 16px; }
.portal__step { display: flex; gap: 14px; align-items: flex-start; }
.portal__step b { display: block; font-size: 0.95rem; }
.portal__step span { color: var(--on-ink-soft); font-size: 0.86rem; }
.portal__step i { font-style: normal; font-family: var(--font-display); color: var(--on-ink-faint); font-size: 0.95rem; flex: none; width: 26px; }

.form-card { background: var(--paper); color: var(--on-paper); border-radius: var(--radius-lg); padding: clamp(24px,3vw,40px); }
.field { margin-bottom: 18px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 0.8rem; font-weight: 600; margin-bottom: 8px; letter-spacing: 0.01em; }
.field label .req { color: var(--vc); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.86em 1em; font: inherit; font-size: 0.94rem;
  background: var(--paper-2); border: 1px solid transparent; border-radius: 8px; color: var(--on-paper);
  transition: border-color 0.25s, background 0.25s; -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2315191f' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1em center; padding-right: 2.4em;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--paper); border-color: var(--vc); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #d6453c; background: #fdf0ef; }
.field__err { font-size: 0.76rem; color: #d6453c; margin-top: 6px; display: none; }
.field.invalid .field__err { display: block; }
.consent { display: flex; gap: 11px; align-items: flex-start; margin: 6px 0 22px; }
.consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--vc); }
.consent label { font-size: 0.82rem; color: var(--on-paper-soft); font-weight: 400; }
.form-submit { width: 100%; justify-content: center; }
.form-success { display: none; text-align: center; padding: 36px 12px; }
.form-success.show { display: block; animation: pop 0.5s var(--ease); }
.form-success .check { width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; background: var(--vc); color: #fff; }
@keyframes pop { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }

/* ---------- FAQ ---------- */
.faq { margin-top: clamp(36px,5vw,52px); border-top: 1px solid var(--line-lt); }
.section--ink .faq { border-top-color: var(--line-dk); }
.faq__item { border-bottom: 1px solid var(--line-lt); }
.section--ink .faq__item { border-bottom-color: var(--line-dk); }
.faq__q {
  width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0; font-family: var(--font-display); font-weight: 440; font-size: clamp(1.15rem,2vw,1.5rem); letter-spacing: -0.01em;
}
.faq__icon { flex: none; width: 26px; height: 26px; position: relative; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: currentColor; transition: transform 0.4s var(--ease), opacity 0.3s; }
.faq__icon::before { left: 0; right: 0; top: 50%; height: 1.6px; transform: translateY(-50%); }
.faq__icon::after { top: 0; bottom: 0; left: 50%; width: 1.6px; transform: translateX(-50%); }
.faq__item.open .faq__icon::after { opacity: 0; transform: translateX(-50%) scaleY(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.faq__a-inner { padding-bottom: 28px; max-width: 72ch; color: var(--on-paper-soft); line-height: 1.6; text-wrap: pretty; }
.section--ink .faq__a-inner { color: var(--on-ink-soft); }

/* ---------- Offices ---------- */
.offices { margin-top: clamp(40px,5vw,60px); display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.office {
  border: 1px solid var(--line-lt); border-radius: var(--radius-lg); padding: clamp(24px,2.6vw,34px);
  background: var(--paper); transition: transform 0.4s var(--ease), border-color 0.3s;
}
.office:hover { transform: translateY(-3px); border-color: var(--on-paper); }
.office__city { display: flex; align-items: baseline; gap: 10px; }
.office__city h3 { font-family: var(--font-display); font-weight: 460; font-size: 1.5rem; letter-spacing: -0.01em; }
.office__city .pin { font-size: 0.72rem; color: var(--on-paper-soft); letter-spacing: 0.1em; text-transform: uppercase; }
.office p { color: var(--on-paper-soft); font-size: 0.9rem; margin-top: 14px; line-height: 1.5; }
.office a { margin-top: 18px; display: inline-flex; align-items: center; gap: 0.5em; font-weight: 600; font-size: 0.9rem; color: var(--on-paper); border-bottom: 1px solid var(--line-lt); padding-bottom: 3px; transition: border-color 0.3s; }
.office a:hover { border-color: var(--on-paper); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--on-ink); padding-top: clamp(64px,8vw,100px); }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: clamp(48px,6vw,72px); border-bottom: 1px solid var(--line-dk); }
.footer__brand .footer__logo { height: 40px; width: auto; }
.footer__brand p { color: var(--on-ink-soft); margin-top: 20px; max-width: 38ch; line-height: 1.6; font-size: 0.95rem; }
.footer__col h4 { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-ink-faint); margin-bottom: 18px; }
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer__col a { color: var(--on-ink-soft); font-size: 0.92rem; transition: color 0.25s; }
.footer__col a:hover { color: var(--on-ink); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 28px 0 40px; }
.footer__bottom small { color: var(--on-ink-faint); font-size: 0.84rem; max-width: 72ch; line-height: 1.5; }
.footer__tag { font-family: var(--font-display); font-size: 1.05rem; color: var(--on-ink-soft); }

/* ---------- Product mock (Liquid-style) ---------- */
.ldemo {
  position: relative; z-index: 1; background: var(--ink); border: 1px solid var(--line-dk);
  border-radius: 14px; overflow: hidden; box-shadow: 0 44px 90px -46px rgba(0,0,0,0.6); color: var(--on-ink);
}
.hero .ldemo { background: var(--ink-2); }
.ldemo__bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line-dk); }
.ldemo__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-dk); }
.ldemo__bar b { margin-left: 12px; font-family: var(--font-display); font-size: 0.95rem; letter-spacing: -0.01em; }
.ldemo__bar .live { margin-left: auto; font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ok); display: inline-flex; align-items: center; gap: 0.5em; }
.ldemo__bar .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.ldemo__body { padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.ldemo__who { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.ldemo__who .k { font-size: 0.72rem; color: var(--on-ink-faint); letter-spacing: 0.08em; text-transform: uppercase; }
.ldemo__who b { display: block; font-family: var(--font-display); font-size: 1.35rem; margin-top: 4px; letter-spacing: -0.01em; }
.ldemo__who small { display: block; color: var(--on-ink-soft); font-size: 0.82rem; margin-top: 4px; }
.badge {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.45em 0.75em; border-radius: 999px; white-space: nowrap;
}
.badge--warn { color: #1c1407; background: var(--pe); }
.badge--ok { color: #062; background: var(--ok); }
.badge--alert { color: #fff; background: var(--alert); }
.signals { display: flex; flex-direction: column; gap: 1px; background: var(--line-dk); border: 1px solid var(--line-dk); border-radius: 10px; overflow: hidden; }
.signal { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; background: var(--ink); }
.hero .signal { background: var(--ink-3); }
.signal .nm { font-size: 0.86rem; font-weight: 600; }
.signal .nm span { display: block; font-weight: 400; color: var(--on-ink-faint); font-size: 0.75rem; margin-top: 2px; }
.signal .st { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.signal .st.ok { color: var(--ok); }
.signal .st.warn { color: var(--pe); }
.signal .st.alert { color: #ef7a73; }
.ldemo__foot { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding-top: 4px; }
.ldemo__foot .rec { font-size: 0.82rem; color: var(--on-ink-soft); }
.ldemo__foot .rec b { color: var(--on-ink); }
.ldemo__caption { font-size: 0.72rem; color: var(--on-ink-faint); letter-spacing: 0.04em; margin-top: 10px; text-align: center; }

/* ---------- Langs ---------- */
.langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.lang {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 0.45em 0.85em; border-radius: 999px;
  border: 1px solid var(--line-dk); color: var(--on-ink-soft);
}

/* ---------- 404 ---------- */
.gone { min-height: 100vh; background: var(--ink); color: var(--on-ink); display: grid; place-items: center; padding: 40px var(--gutter); text-align: center; }
.gone h1 { margin: 18px 0 14px; }
.gone p { color: var(--on-ink-soft); max-width: 40ch; margin: 0 auto 28px; }

/* ---------- Reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
  [data-reveal].in { opacity: 1; transform: none; }
  [data-reveal-stagger] > * { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
  [data-reveal-stagger].in > * { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__brand { grid-column: 1 / -1; }
  .focus-grid { grid-template-columns: 1fr 1fr; }
  .principle { grid-template-columns: 56px 1fr; }
  .principle p { grid-column: 2; }
}
@media (max-width: 920px) {
  .nav__links, .nav__cta .btn { display: none; }
  .nav__burger { display: flex; }
  .hero__top { grid-template-columns: 1fr; align-items: start; }
  .hero__head .display { max-width: 16ch; }
  .playbooks, .value-grid, .audience, .gov-grid { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .portal { grid-template-columns: 1fr; }
  .offices { grid-template-columns: 1fr 1fr; }
  .flow-step { grid-template-columns: 64px 1fr; gap: 16px; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .focus-grid, .offices, .metrics { grid-template-columns: 1fr; }
  .field--row { grid-template-columns: 1fr; gap: 0; }
  .footer__top { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; align-items: flex-start; }
  .drawer a { font-size: 1.65rem; padding: 10px 0; }
  .principle { grid-template-columns: 40px 1fr; padding: 18px 18px; gap: 12px; }
}

/* ---------- Auth (login / console) ---------- */
body.auth { background: #fff; overflow: auto; min-height: 100dvh; }
.auth-grid {
  display: grid; height: 100dvh; height: 100vh;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
.auth-aside {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  background: var(--ink); color: var(--on-ink);
  padding: clamp(36px, 4vw, 56px); overflow: hidden;
  min-height: 0; height: 100%;
}
.auth-aside__grid {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.45;
  background-image:
    linear-gradient(var(--line-dk) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dk) 1px, transparent 1px);
  background-size: 44px 44px;
}
.auth-aside__glow {
  position: absolute; pointer-events: none; border-radius: 50%; filter: blur(90px);
}
.auth-aside__glow--vc { width: 55%; height: 45%; left: -18%; top: 12%; background: var(--vc); opacity: 0.28; }
.auth-aside__glow--pe { width: 50%; height: 40%; right: -16%; bottom: -8%; background: var(--pe); opacity: 0.18; }
.auth-aside__inner { position: relative; z-index: 1; }
.auth-aside .brand__logo { height: 36px; }
.auth-aside .brand { margin-bottom: 8px; }
.auth-aside h1 {
  font-family: var(--font-display); font-weight: 440; letter-spacing: -0.02em;
  font-size: clamp(2rem, 3.4vw, 2.85rem); line-height: 1.05; margin-top: 36px; max-width: 16ch;
}
.auth-aside p { margin-top: 16px; color: var(--on-ink-soft); max-width: 42ch; font-size: 1.02rem; line-height: 1.55; }
.auth-points { list-style: none; margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.auth-points li { display: flex; align-items: flex-start; gap: 12px; color: var(--on-ink); font-size: 0.95rem; }
.auth-points svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--ok); }
.auth-aside__foot {
  position: relative; z-index: 1; margin-top: 48px;
  padding-top: 22px; border-top: 1px solid var(--line-dk);
  flex: none;
}
.auth-aside__foot small { color: var(--on-ink-faint); font-size: 0.85rem; display: block; }
.auth-main {
  display: flex; align-items: flex-start; justify-content: center;
  padding: 28px 28px 40px; background: #fff; overflow-y: auto;
  min-height: 0; height: 100%;
}
.auth-box { width: 100%; max-width: 440px; padding: 8px 0 16px; margin-block: auto; }
.auth-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.auth-back { font-size: 0.9rem; font-weight: 600; color: var(--vc); }
.auth-back:hover { text-decoration: underline; }
.auth-box h2 {
  font-family: var(--font-display); font-weight: 440; letter-spacing: -0.02em;
  font-size: clamp(2rem, 3vw, 2.5rem); line-height: 1.05;
}
.auth-box > .lead { margin: 10px 0 22px; color: var(--on-paper-soft); font-size: 1rem; max-width: none; }
.auth-promo {
  border: 2px solid color-mix(in oklab, var(--vc) 28%, var(--line-lt));
  background: color-mix(in oklab, var(--vc) 6%, #fff);
  border-radius: 16px; padding: 20px 20px 18px; margin-bottom: 26px;
}
.auth-promo b { display: block; font-size: 0.92rem; color: var(--on-paper); }
.auth-promo p { margin: 8px 0 16px; font-size: 0.9rem; color: var(--on-paper-soft); line-height: 1.5; }
.auth-promo .btn { width: 100%; justify-content: center; }
.auth-label { font-size: 0.88rem; font-weight: 600; margin-bottom: 12px; }
.auth-alert {
  border-radius: 12px; padding: 12px 14px; font-size: 0.88rem; line-height: 1.45; margin-bottom: 14px;
}
.auth-alert--error { border: 1px solid #f1c0bc; background: #fdf0ef; color: #9b2c24; }
.auth-alert--info { border: 1px solid color-mix(in oklab, var(--vc) 22%, var(--line-lt)); background: var(--vc-soft); color: var(--on-paper); }
.auth-form {
  border: 1px solid var(--line-lt); background: color-mix(in oklab, var(--paper) 55%, #fff);
  border-radius: 16px; padding: 20px;
}
.auth-form .field { margin-bottom: 14px; }
.auth-form .field:last-of-type { margin-bottom: 8px; }
.auth-form input {
  background: #fff; border: 1px solid var(--line-lt);
}
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 3.1em; }
.pw-toggle {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 8px; color: var(--on-paper-soft);
  display: grid; place-items: center;
}
.pw-toggle:hover { color: var(--on-paper); background: var(--paper); }
.pw-toggle svg { width: 18px; height: 18px; }
.auth-row { display: flex; justify-content: flex-end; margin-bottom: 12px; }
.auth-row button, .auth-textbtn {
  font-size: 0.86rem; font-weight: 600; color: var(--vc); background: none; border: 0; cursor: pointer;
}
.auth-row button:hover, .auth-textbtn:hover { text-decoration: underline; }
.auth-row button:disabled { opacity: 0.5; cursor: not-allowed; text-decoration: none; }
.auth-form .btn { width: 100%; justify-content: center; }
.auth-note { margin-top: 18px; text-align: center; font-size: 0.8rem; color: var(--on-paper-soft); line-height: 1.5; text-wrap: pretty; }
.auth-mobile-brand {
  display: none; border: 1px solid var(--line-lt); border-radius: 16px;
  padding: 16px 16px 14px; margin-bottom: 22px; background: var(--paper);
}
.auth-mobile-brand p { margin-top: 10px; font-size: 0.88rem; color: var(--on-paper-soft); line-height: 1.5; }

.console { min-height: 100dvh; background: var(--paper); }
.console-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px var(--gutter); border-bottom: 1px solid var(--line-lt); background: #fff;
}
.console-bar .brand__logo--dark,
.auth-mobile-brand .brand__logo--dark { display: block; }
.console-bar .brand__prod { color: var(--on-paper); border-left-color: var(--line-lt); }
.console-user { display: flex; align-items: center; gap: 14px; font-size: 0.88rem; color: var(--on-paper-soft); }
.console-main { max-width: 920px; margin: 0 auto; padding: clamp(32px, 5vw, 56px) var(--gutter); }
.console-grid { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; margin-top: 28px; }
.console-card {
  background: #fff; border: 1px solid var(--line-lt); border-radius: 14px; padding: 22px 22px 20px;
}
.console-card h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 460; letter-spacing: -0.01em; }
.console-card p { margin-top: 8px; color: var(--on-paper-soft); font-size: 0.92rem; line-height: 1.5; }

@media (max-width: 920px) {
  .auth-grid { grid-template-columns: 1fr; height: auto; min-height: 100dvh; overflow: visible; }
  .auth-aside { display: none; }
  .auth-main { height: auto; min-height: 100dvh; }
  .auth-mobile-brand { display: block; }
  .console-grid { grid-template-columns: 1fr; }
}
