:root {
  color-scheme: light;
  --ink: #082448;
  --muted: #394a5f;
  --soft: #eef2f3;
  --paper: #fbfbf8;
  --gold: #b89a61;
  --gold-strong: #a88545;
  --line: rgba(8, 36, 72, .14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  min-height: 100svh;
  background: var(--paper);
}

.topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 112px;
  padding: 30px clamp(24px, 4.8vw, 68px);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-horse {
  width: clamp(42px, 4vw, 58px);
  height: clamp(42px, 4vw, 58px);
  color: var(--gold-strong);
  flex: 0 0 auto;
}

.brand-horse path {
  fill: none;
  stroke: currentColor;
  stroke-width: 3.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-horse path:first-child {
  fill: currentColor;
  stroke: none;
  opacity: .18;
}

.brand-lockup strong {
  display: block;
  font-size: clamp(1.72rem, 3.2vw, 2.68rem);
  line-height: .86;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.brand-lockup small {
  display: block;
  margin-top: 9px;
  color: var(--gold-strong);
  font-size: clamp(.58rem, .9vw, .8rem);
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
}

.toplink {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(184, 154, 97, .45);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, .46);
  font-size: .82rem;
  font-weight: 720;
  text-transform: uppercase;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 78svh;
  overflow: hidden;
  padding: 142px clamp(24px, 4.8vw, 68px) 72px;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.94) 24%, rgba(255,255,255,.66) 43%, rgba(255,255,255,.12) 68%, rgba(255,255,255,0) 100%),
    image-set(url("../assets/nurilim-pipeline-art.jpg") 1x);
  background-size: cover;
  background-position: center center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 190px;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.74) 52%, var(--paper));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
}

h1 {
  margin: 0;
  max-width: 610px;
  font-size: clamp(2.65rem, 5.2vw, 4.9rem);
  line-height: 1.04;
  font-weight: 760;
  letter-spacing: 0;
}

h1 span {
  color: var(--gold-strong);
}

.hero-rule {
  width: 70px;
  height: 2px;
  margin: 28px 0 24px;
  background: var(--gold);
}

.hero-copy {
  max-width: 420px;
  margin: 0;
  color: #1d304d;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.65;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 54px;
  max-width: 100%;
  margin-top: 34px;
  padding: 0 20px;
  border: 1px solid rgba(168, 133, 69, .58);
  border-radius: 8px;
  color: var(--gold-strong);
  background: rgba(255,255,255,.58);
  font-size: .86rem;
  font-weight: 760;
  text-transform: uppercase;
  white-space: normal;
}

.button span {
  font-size: 1.55rem;
  line-height: 1;
}

.proof-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 30px clamp(24px, 5.2vw, 74px) 28px;
  background: rgba(255, 255, 255, .92);
  border-top: 1px solid rgba(8, 36, 72, .08);
}

.proof-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  min-height: 108px;
  padding: 0 clamp(16px, 2vw, 34px);
  border-right: 1px solid var(--line);
}

.proof-item:first-child {
  padding-left: 0;
}

.proof-item:last-child {
  border-right: 0;
  padding-right: 0;
}

.proof-item svg {
  width: 60px;
  height: 60px;
  color: var(--ink);
}

.proof-item svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.proof-item h2 {
  margin: 0 0 9px;
  font-size: .82rem;
  line-height: 1.24;
  font-weight: 800;
  text-transform: uppercase;
}

.proof-item p {
  margin: 0;
  max-width: 210px;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.55;
}

.closing-line {
  display: grid;
  grid-template-columns: minmax(20px, 1fr) auto minmax(20px, 1fr);
  align-items: center;
  gap: 20px;
  padding: 20px clamp(24px, 5.2vw, 74px) 32px;
  background: var(--paper);
  color: var(--gold-strong);
  text-align: center;
}

.closing-line span {
  height: 1px;
  background: rgba(184, 154, 97, .58);
}

.closing-line p {
  margin: 0;
  color: #1c2d47;
  font-size: .82rem;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: .26em;
}

@media (max-width: 1060px) {
  .proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 22px;
  }

  .proof-item {
    border-right: 0;
    padding: 0 18px 18px 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-item:nth-last-child(-n + 2) {
    border-bottom: 0;
    padding-bottom: 0;
  }
}

@media (max-width: 760px) {
  .topbar {
    position: relative;
    min-height: auto;
    padding: 22px 20px 14px;
    background: var(--paper);
  }

  .brand-lockup {
    gap: 10px;
  }

  .brand-lockup strong {
    font-size: 1.45rem;
    letter-spacing: .11em;
  }

  .brand-lockup small {
    margin-top: 6px;
    font-size: .54rem;
  }

  .toplink {
    min-height: 34px;
    padding: 0 10px;
    font-size: .72rem;
  }

  .hero {
    min-height: 66svh;
    padding: 58px 20px 44px;
    background-image:
      linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.88) 42%, rgba(255,255,255,.34) 100%),
      image-set(url("../assets/nurilim-pipeline-art.jpg") 1x);
    background-position: 58% center;
  }

  .hero-copy {
    max-width: 360px;
  }

  .button {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    gap: 14px;
  }

  .proof-strip {
    grid-template-columns: 1fr;
    padding: 26px 20px 10px;
  }

  .proof-item,
  .proof-item:first-child,
  .proof-item:last-child {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 16px;
    min-height: 94px;
    padding: 0 0 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-item:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .proof-item:last-child {
    border-bottom: 0;
  }

  .proof-item svg {
    width: 48px;
    height: 48px;
  }

  .closing-line {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px;
  }

  .closing-line p {
    font-size: .76rem;
    line-height: 1.55;
    letter-spacing: .18em;
  }
}
