:root {
  --ink: #24221f;
  --stone: #34322e;
  --stone-2: #4b4842;
  --muted: #6e675d;
  --line: #ded7cc;
  --paper: #f5f1e8;
  --paper-2: #ece5d8;
  --white: #fffaf1;
  --green: #3f6d5a;
  --green-dark: #294c3e;
  --bronze: #b48145;
  --bronze-dark: #7a552b;
  --danger: #8d3d32;
  --shadow: 0 18px 40px rgba(36, 34, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(222, 215, 204, 0.72);
  background: rgba(255, 250, 241, 0.92);
  backdrop-filter: blur(14px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--ink);
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(180, 129, 69, 0.55);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--stone), #11100f);
  color: var(--white);
  font-size: 13px;
}

.brand span:last-child {
  font-size: 18px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(63, 109, 90, 0.11);
  color: var(--green-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  content: "";
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 86px 0;
}

.section.tight {
  padding: 56px 0;
}

.section.alt {
  background: var(--white);
}

.section.dark {
  background: var(--stone);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--bronze-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.dark .eyebrow,
.hero .eyebrow,
.subhero .eyebrow {
  color: #e5bd83;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: 64px;
  line-height: 1.02;
  font-weight: 850;
}

h2 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: 42px;
  line-height: 1.09;
  font-weight: 820;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.22;
}

p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.62;
}

.dark p,
.hero p,
.subhero p {
  color: rgba(255, 250, 241, 0.82);
}

.lead {
  max-width: 760px;
  font-size: 20px;
}

.hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background: #161512 url("belarus-hero-realistic.png") center right / cover no-repeat;
  color: var(--white);
}

.hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 15, 13, 0.92) 0%, rgba(16, 15, 13, 0.76) 42%, rgba(16, 15, 13, 0.28) 72%, rgba(16, 15, 13, 0.1) 100%),
    linear-gradient(0deg, rgba(16, 15, 13, 0.7) 0%, rgba(16, 15, 13, 0) 35%);
  content: "";
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 650px;
  align-items: center;
  padding: 86px 0 70px;
}

.hero-content {
  width: min(760px, 100%);
}

.hero p {
  max-width: 690px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.btn.primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(25, 62, 48, 0.28);
}

.btn.primary:hover {
  background: var(--green-dark);
}

.btn.secondary {
  border-color: rgba(255, 250, 241, 0.42);
  background: rgba(255, 250, 241, 0.08);
  color: var(--white);
}

.btn.secondary:hover {
  background: rgba(255, 250, 241, 0.14);
}

.btn.ghost {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.btn.ghost:hover {
  border-color: rgba(63, 109, 90, 0.45);
  color: var(--green-dark);
}

.hero-metrics {
  display: grid;
  max-width: 760px;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 44px;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 241, 0.24);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.18);
}

.metric {
  padding: 18px;
  background: rgba(18, 17, 15, 0.42);
}

.metric strong {
  display: block;
  margin-bottom: 5px;
  color: var(--white);
  font-size: 22px;
}

.metric span {
  color: rgba(255, 250, 241, 0.74);
  font-size: 13px;
  line-height: 1.4;
}

.subhero {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: #151411 url("belarus-hero-realistic.png") center right / cover no-repeat;
  color: var(--white);
}

.subhero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 15, 13, 0.9), rgba(16, 15, 13, 0.65) 50%, rgba(16, 15, 13, 0.28)),
    linear-gradient(0deg, rgba(16, 15, 13, 0.52), rgba(16, 15, 13, 0));
  content: "";
}

.subhero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 430px;
  align-items: center;
  padding: 70px 0;
}

.subhero h1 {
  max-width: 840px;
  font-size: 52px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  gap: 44px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1fr);
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 18px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 24px;
  box-shadow: 0 10px 26px rgba(36, 34, 31, 0.06);
}

.dark .card {
  border-color: rgba(255, 250, 241, 0.15);
  background: rgba(255, 250, 241, 0.08);
  box-shadow: none;
}

.card p:last-child,
.feature-row p:last-child,
.step p:last-child {
  margin-bottom: 0;
}

.card.media {
  overflow: hidden;
  padding: 0;
}

.card.media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.card.media .card-body {
  padding: 24px;
}

.photo-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(36, 34, 31, 0.16);
  border-radius: 8px;
  background: var(--stone);
  box-shadow: var(--shadow);
}

.photo-panel img {
  width: 100%;
  min-height: 360px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.photo-panel.tall img {
  min-height: 460px;
}

.photo-panel figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 250, 241, 0.2);
  border-radius: 8px;
  background: rgba(24, 23, 20, 0.72);
  color: rgba(255, 250, 241, 0.86);
  font-size: 14px;
  line-height: 1.45;
  backdrop-filter: blur(10px);
}

.visual-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 34px;
  margin-bottom: 34px;
}

.steps + .photo-panel,
.list + .photo-panel {
  margin-top: 24px;
}

.visual-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(36, 34, 31, 0.06);
}

.visual-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.visual-card div {
  padding: 16px;
}

.visual-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 16px;
}

.visual-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.card-label {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 6px 9px;
  border-radius: 6px;
  background: rgba(63, 109, 90, 0.1);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
}

.dark .card-label {
  background: rgba(229, 189, 131, 0.16);
  color: #f0cf9f;
}

.list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.list li {
  position: relative;
  padding-left: 28px;
  color: var(--stone-2);
  font-size: 16px;
  line-height: 1.52;
}

.dark .list li {
  color: rgba(255, 250, 241, 0.82);
}

.list li::before {
  position: absolute;
  top: 8px;
  left: 0;
  width: 10px;
  height: 10px;
  border: 2px solid var(--bronze);
  border-radius: 50%;
  content: "";
}

.workflow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 34px;
}

.workflow span {
  min-height: 86px;
  padding: 14px;
  border: 1px solid rgba(63, 109, 90, 0.23);
  border-radius: 8px;
  background: var(--white);
  color: var(--stone);
  font-size: 14px;
  font-weight: 750;
}

.product-frame {
  overflow: hidden;
  border: 1px solid rgba(36, 34, 31, 0.16);
  border-radius: 8px;
  background: #f8f5ed;
  box-shadow: var(--shadow);
}

.product-topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: #ebe4d6;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bronze);
}

.dot:nth-child(2) {
  background: var(--green);
}

.dot:nth-child(3) {
  background: #6d6962;
}

.product-body {
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 360px;
}

.product-sidebar {
  padding: 18px 12px;
  background: var(--stone);
}

.product-sidebar span {
  display: block;
  height: 12px;
  margin: 0 0 15px;
  border-radius: 3px;
  background: rgba(255, 250, 241, 0.24);
}

.product-sidebar span:nth-child(1) {
  width: 80%;
  background: rgba(229, 189, 131, 0.8);
}

.product-sidebar span:nth-child(2) {
  width: 62%;
}

.product-sidebar span:nth-child(3) {
  width: 72%;
}

.product-sidebar span:nth-child(4) {
  width: 54%;
}

.product-main {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 16px;
  padding: 18px;
}

.product-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.product-kpis div,
.fake-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 14px;
}

.product-kpis strong {
  display: block;
  margin-bottom: 5px;
  font-size: 20px;
}

.product-kpis span {
  color: var(--muted);
  font-size: 12px;
}

.fake-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.fake-card span {
  display: block;
  height: 9px;
  margin-bottom: 9px;
  border-radius: 3px;
  background: #d8d0c3;
}

.fake-card span:nth-child(1) {
  width: 86%;
}

.fake-card span:nth-child(2) {
  width: 62%;
}

.fake-card span:nth-child(3) {
  width: 72%;
  background: rgba(63, 109, 90, 0.28);
}

.feature-row {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 22px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.feature-row:first-child {
  border-top: 0;
}

.feature-row strong {
  color: var(--ink);
  font-size: 18px;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.plan {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 28px;
}

.plan.featured {
  border-color: rgba(63, 109, 90, 0.55);
  box-shadow: var(--shadow);
}

.plan h3 {
  font-size: 28px;
}

.plan .price {
  margin: 18px 0 4px;
  color: var(--ink);
  font-size: 34px;
  font-weight: 850;
}

.plan .price-note {
  color: var(--muted);
  font-size: 14px;
}

.plan .btn {
  margin-top: auto;
}

.quote-band {
  border-top: 1px solid rgba(255, 250, 241, 0.16);
  border-bottom: 1px solid rgba(255, 250, 241, 0.16);
  background: var(--stone);
  color: var(--white);
}

.quote-band blockquote {
  max-width: 900px;
  margin: 0;
  font-size: 32px;
  font-weight: 780;
  line-height: 1.2;
}

.steps {
  display: grid;
  gap: 14px;
  counter-reset: steps;
}

.step {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.step::before {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  color: var(--white);
  font-weight: 850;
  counter-increment: steps;
  content: counter(steps);
}

.form-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 28px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  color: var(--stone-2);
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cfc7bb;
  border-radius: 8px;
  background: #fffdf8;
  color: var(--ink);
  padding: 12px 13px;
}

textarea {
  min-height: 112px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  outline: 3px solid rgba(63, 109, 90, 0.15);
}

.form-message {
  display: none;
  margin: 14px 0 0;
  color: var(--green-dark);
  font-weight: 750;
}

.form-message.is-visible {
  display: block;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border: 1px solid rgba(63, 109, 90, 0.2);
  border-radius: 8px;
  background: var(--white);
  padding: 30px;
}

.blog-list {
  display: grid;
  gap: 14px;
}

.blog-item {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 20px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 18px;
}

.blog-item span {
  color: var(--bronze-dark);
  font-size: 13px;
  font-weight: 850;
}

.blog-item p {
  margin: 0;
}

.site-footer {
  background: #171613;
  color: var(--white);
  padding: 54px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 34px;
}

.site-footer h3 {
  font-size: 16px;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 250, 241, 0.72);
  font-size: 14px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-bottom {
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 250, 241, 0.13);
  color: rgba(255, 250, 241, 0.58);
  font-size: 13px;
}

@media (max-width: 980px) {
  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 34px;
  }

  .site-nav {
    position: absolute;
    right: 20px;
    top: 72px;
    display: none;
    width: min(320px, calc(100% - 40px));
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    padding: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .menu-toggle {
    display: inline-block;
  }

  .header-actions .btn {
    display: none;
  }

  .split,
  .split.reverse,
  .grid-3,
  .grid-4,
  .visual-grid,
  .plans,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .visual-card img {
    aspect-ratio: 16 / 9;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .workflow {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-body {
    grid-template-columns: 120px 1fr;
  }

  .blog-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container,
  .nav-shell {
    width: min(100% - 28px, 1180px);
  }

  .section {
    padding: 62px 0;
  }

  .hero,
  .hero-inner {
    min-height: 610px;
  }

  .hero {
    background-position: 64% center;
  }

  h1,
  .subhero h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 30px;
  }

  .lead {
    font-size: 18px;
  }

  .hero-metrics,
  .workflow,
  .product-kpis,
  .fake-board,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .product-body {
    grid-template-columns: 1fr;
  }

  .photo-panel img,
  .photo-panel.tall img {
    min-height: 260px;
  }

  .photo-panel figcaption {
    position: static;
    border: 0;
    border-radius: 0;
    background: var(--stone);
  }

  .product-sidebar {
    display: none;
  }

  .feature-row,
  .step,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .quote-band blockquote {
    font-size: 26px;
  }
}
