:root {
  --p-bg: #1b1b1f;
  --p-bg2: #232329;
  --p-surface: #2a2a31;
  --p-line: rgba(255, 255, 255, 0.1);
  --p-line2: rgba(255, 255, 255, 0.16);
  --p-tx: #f2f2f5;
  --p-tx2: #a8a8b4;
  --p-tx3: #74747f;
  --p-teal: #1b7f79;
  --p-teal-lt: #4ecdc4;
  --p-warn: #d99a3f;
  --p-bad: #d9634f;
  --p-sec: 66px;
  --p-head: 28px;
  --p-card: 24px;
  --p-nav: 64px;
}

body {
  margin: 0;
  color: var(--p-tx2);
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--p-bg);
}

.brand, .hero-title, .head-title, .tile-title, .tl-t, .tl-time, .cta-title, .foot-brand, .kv-k, .step-n {
  font-family: 'Space Grotesk', system-ui, sans-serif;
}

.site-head {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--p-nav);
  background: rgba(27, 27, 31, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--p-line);
}
.site-head .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.brand {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--p-tx);
  text-decoration: none;
}
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  display: block;
  padding: 8px 12px;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--p-tx2);
  text-decoration: none;
  border-radius: 6px;
  white-space: nowrap;
}
.site-nav a:hover {
  color: var(--p-tx);
}
.site-nav a.active {
  color: var(--p-teal-lt);
  background: rgba(78, 205, 196, 0.1);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 36px;
  padding: 0;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--p-line2);
  border-radius: 6px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--p-tx);
  border-radius: 2px;
}

.kicker {
  display: inline-block;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--p-teal-lt);
}
.kicker--ink {
  color: var(--p-teal-lt);
}

.hero {
  position: relative;
  padding-top: 66px;
  padding-bottom: 58px;
  overflow: hidden;
  background: #101013;
}
.hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.6;
}
.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(16, 16, 19, 0.95) 0%, rgba(16, 16, 19, 0.84) 46%, rgba(16, 16, 19, 0.4) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 880px;
}
.hero-title {
  margin: 13px 0 15px 0;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--p-tx);
}
.hero-lead {
  max-width: 62ch;
  font-size: 1.01rem;
  line-height: 1.74;
  color: var(--p-tx2);
}

.section {
  padding-top: var(--p-sec);
  padding-bottom: var(--p-sec);
  background: var(--p-bg);
}
.section-deep {
  background: var(--p-bg2);
}

.head {
  margin-bottom: var(--p-head);
}
.head-title {
  font-size: clamp(1.3rem, 2.1vw, 1.72rem);
  line-height: 1.28;
  letter-spacing: -0.018em;
  font-weight: 600;
  color: var(--p-tx);
}
.head .kicker + .head-title {
  margin-top: 8px;
}

.lede {
  font-size: 1.01rem;
  line-height: 1.76;
  color: var(--p-tx2);
  margin: 0;
}
.lede + .lede {
  margin-top: 16px;
}

.fig {
  width: 100%;
  height: 100%;
  min-height: 210px;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  border: 1px solid var(--p-line);
}
.row.align-items-center:has(> [class*="col-"] > .fig) {
  align-items: stretch !important;
}
.row:has(> [class*="col-"] > .fig) > [class*="col-"] {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.row:has(> [class*="col-"] > .fig) > [class*="col-"] > .fig {
  flex: 1 1 auto;
}

.note {
  margin: var(--p-head) 0 0 0;
  padding: 15px 19px;
  background: var(--p-surface);
  border-left: 3px solid var(--p-teal-lt);
  border-radius: 0 8px 8px 0;
  font-size: 0.94rem;
  line-height: 1.72;
  color: var(--p-tx2);
}

.tile {
  display: flex;
  flex-direction: column;
  padding: var(--p-card);
  background: var(--p-surface);
  border: 1px solid var(--p-line);
  border-radius: 10px;
}
.tile-title {
  margin: 0 0 8px 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.34;
  color: var(--p-tx);
}
.tile-text {
  font-size: 0.93rem;
  line-height: 1.68;
  color: var(--p-tx3);
}

.tl-list {
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--p-surface);
  border: 1px solid var(--p-line);
  border-radius: 10px;
  overflow: hidden;
}
.tl {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  align-items: start;
  gap: 4px 18px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--p-line);
  border-left: 3px solid var(--p-line2);
}
.tl:last-child {
  border-bottom: 0;
}
.tl-time {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--p-tx2);
  padding-top: 2px;
  white-space: nowrap;
}
.tl-body {
  min-width: 0;
}
.tl-t {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--p-tx);
}
.tl-d {
  margin-top: 4px;
  font-size: 0.92rem;
  line-height: 1.66;
  color: var(--p-tx3);
}
.tl--agreed {
  border-left-color: var(--p-teal-lt);
}
.tl--agreed .tl-time {
  color: var(--p-teal-lt);
}
.tl--warehouse {
  border-left-color: var(--p-warn);
}
.tl--warehouse .tl-time {
  color: var(--p-warn);
}
.tl--customer {
  border-left-color: #6b8fd9;
}
.tl--customer .tl-time {
  color: #6b8fd9;
}
.tl--gap {
  border-left-color: var(--p-bad);
  background: rgba(217, 99, 79, 0.05);
}
.tl--gap .tl-time {
  color: var(--p-bad);
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 18px 0 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.86rem;
  color: var(--p-tx3);
}
.legend li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.key {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--p-line2);
}
.key--agreed {
  background: var(--p-teal-lt);
}
.key--warehouse {
  background: var(--p-warn);
}
.key--customer {
  background: #6b8fd9;
}
.key--gap {
  background: var(--p-bad);
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}
.step {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 16px var(--p-card);
  background: var(--p-surface);
  border: 1px solid var(--p-line);
  border-radius: 10px;
}
.step + .step {
  margin-top: 12px;
}
.step-n {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(78, 205, 196, 0.12);
  color: var(--p-teal-lt);
  font-size: 0.78rem;
  font-weight: 600;
}
.step-body {
  min-width: 0;
}

.kv-list {
  background: var(--p-surface);
  border: 1px solid var(--p-line);
  border-radius: 10px;
  overflow: hidden;
}
.kv {
  display: grid;
  grid-template-columns: minmax(110px, 10rem) 1fr;
  gap: 6px 18px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--p-line);
}
.kv:last-child {
  border-bottom: 0;
}
.kv-k {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--p-tx);
}
.kv-v {
  font-size: 0.93rem;
  line-height: 1.66;
  color: var(--p-tx3);
}

.cta {
  padding-top: 52px;
  padding-bottom: 52px;
  background: var(--p-teal);
}
.cta-title {
  font-size: clamp(1.25rem, 2vw, 1.62rem);
  line-height: 1.3;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}
.cta-text {
  max-width: 58ch;
  font-size: 0.98rem;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.86);
}
.cta-mail {
  display: block;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  color: #fff;
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  text-decoration: none;
  padding-bottom: 4px;
}
.cta-mail:hover {
  color: #fff;
  border-bottom-color: #fff;
}
.cta-place {
  display: block;
  margin-top: 12px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
}

.site-foot {
  padding-top: 42px;
  padding-bottom: 22px;
  background: #101013;
  border-top: 1px solid var(--p-line);
}
.foot-brand {
  display: block;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--p-tx);
}
.foot-tag {
  margin-top: 6px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--p-tx3);
}
.foot-k {
  display: block;
  margin-bottom: 10px;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--p-tx3);
}
.foot-links {
  margin: 0;
  padding: 0;
  list-style: none;
}
.foot-links li + li {
  margin-top: 7px;
}
.foot-links a,
.foot-links span {
  font-size: 0.9rem;
  color: var(--p-tx2);
  text-decoration: none;
}
.foot-links a:hover {
  color: var(--p-teal-lt);
}
.foot-bottom {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--p-line);
  font-size: 0.82rem;
  line-height: 1.72;
  color: var(--p-tx3);
}

@media (max-width: 991.98px) {
  :root {
    --p-sec: 44px;
    --p-head: 22px;
    --p-card: 20px;
  }
  .nav-toggle {
    display: flex;
  }
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--p-nav);
    display: none;
    background: var(--p-bg2);
    border-bottom: 1px solid var(--p-line);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
  }
  .site-nav.is-open {
    display: block;
  }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 12px 12px 12px;
  }
  .site-nav a {
    padding: 11px 12px;
    font-size: 0.92rem;
  }
  .hero {
    padding-top: 46px;
    padding-bottom: 40px;
  }
  .hero-veil {
    background: rgba(16, 16, 19, 0.92);
  }
  .row:has(> [class*="col-"] > .fig) > [class*="col-"] {
    display: block;
  }
  .fig {
    height: auto;
    aspect-ratio: 3 / 2;
    min-height: 0;
  }
  .tl {
    grid-template-columns: 1fr;
  }
  .kv {
    grid-template-columns: 1fr;
  }
}
