:root {
  --color-background: #f6f2eb;
  --color-surface: #fffdf9;
  --color-text: #26352e;
  --color-text-muted: #5b6a62;
  --color-green: #416954;
  --color-green-soft: #e3ece5;
  --color-brown: #986745;
  --color-brown-soft: #f1e6dc;
  --color-dark: #233d32;
  --color-line: #ddd5c8;
  --radius-card: 18px;
  --width-content: 1160px;
  --font-sans: "Inter", "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-green);
}

a:hover {
  color: var(--color-dark);
}

.container {
  width: min(var(--width-content), 100% - 40px);
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 242, 235, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-line);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--color-dark);
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 520px) {
  .brand {
    font-size: 20px;
  }

  .brand__product {
    display: none;
  }
}

.brand__mark {
  width: 30px;
  height: 30px;
}

.brand__product {
  font-weight: 600;
  color: var(--color-text-muted);
}

.brand__product::before {
  content: "/";
  margin: 0 10px 0 2px;
  color: var(--color-line);
}

/* Product feature on the company page */

.product-feature {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: 28px;
  overflow: hidden;
}

.product-feature__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-feature__body {
  padding: 44px;
}

.product-feature__body .check-list {
  margin: 22px 0 28px;
}

@media (max-width: 900px) {
  .product-feature {
    grid-template-columns: 1fr;
  }

  .product-feature__body {
    padding: 28px;
  }
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
  font-weight: 600;
}

.site-nav a {
  color: var(--color-text);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--color-green);
}

.site-nav .language-switch {
  border: 1px solid var(--color-line);
  border-radius: 999px;
  padding: 4px 12px;
}

@media (max-width: 980px) {
  .site-nav a:not(.language-switch):not(.button) {
    display: none;
  }
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--color-green);
  color: #fff !important;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.button:hover {
  background: var(--color-dark);
}

.button--ghost {
  background: transparent;
  color: var(--color-green) !important;
  border: 2px solid var(--color-green);
}

.button--ghost:hover {
  background: var(--color-green-soft);
}

.button--small {
  padding: 7px 16px;
  font-size: 14px;
}

/* Hero */

.hero {
  padding: 56px 0 40px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-green);
  margin-bottom: 14px;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-dark);
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(40px, 5.4vw, 64px);
  font-weight: 800;
}

h2 {
  font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 800;
}

h3 {
  font-size: 21px;
  font-weight: 750;
}

.lead {
  font-size: 21px;
  color: var(--color-text);
  max-width: 34em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero__figure {
  position: relative;
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(35, 61, 50, 0.45);
}

.hero__figure img {
  width: 100%;
  height: auto;
}

.figure-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(255, 253, 249, 0.92);
  border-radius: 10px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-dark);
}

.status-strip {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--color-line);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.status-strip__item {
  background: var(--color-surface);
  padding: 18px 20px;
}

.status-strip__label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.status-strip__value {
  font-size: 16px;
  font-weight: 650;
  line-height: 1.4;
}

.status-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: 1px;
}

.status-dot--done {
  background: var(--color-green);
}

.status-dot--next {
  background: var(--color-brown);
}

.status-dot--open {
  background: #b9b0a3;
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .status-strip {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .status-strip {
    grid-template-columns: 1fr;
  }
}

/* Sections */

.section {
  padding: 84px 0;
}

.section--surface {
  background: var(--color-surface);
  border-block: 1px solid var(--color-line);
}

.section--dark {
  background: var(--color-dark);
  color: #e9efe9;
}

.section--dark h2,
.section--dark h3 {
  color: #fff;
}

.section--dark .eyebrow {
  color: #a9c9b4;
}

.section--dark .lead {
  color: #e9efe9;
}

.section--dark a {
  color: #cfe3d4;
}

.section__intro {
  max-width: 46em;
  margin-bottom: 40px;
}

.section__intro p {
  font-size: 19px;
  margin: 0;
}

.muted {
  color: var(--color-text-muted);
}

.section--dark .muted {
  color: #b7c7bd;
}

.footnote {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-top: 22px;
}

.section--dark .footnote {
  color: #b7c7bd;
}

/* Cards and grids */

.grid {
  display: grid;
  gap: 22px;
}

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

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

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

@media (max-width: 980px) {
  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  padding: 26px;
}

.section--surface .card {
  background: var(--color-background);
}

.section--dark .card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.card p {
  margin: 0;
}

.card p + p {
  margin-top: 10px;
}

.card ul {
  margin: 0;
  padding-left: 20px;
}

.card li + li {
  margin-top: 6px;
}

.card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--color-green-soft);
  color: var(--color-green);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.card__icon svg {
  width: 24px;
  height: 24px;
}

.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 12px;
}

.tag--done {
  background: var(--color-green-soft);
  color: var(--color-green);
}

.tag--next {
  background: var(--color-brown-soft);
  color: var(--color-brown);
}

.tag--planned {
  background: #ebe7e0;
  color: #6c665d;
}

.section--dark .tag--planned {
  background: rgba(255, 255, 255, 0.12);
  color: #e9efe9;
}

/* Big numbers */

.stat {
  padding: 28px;
}

.stat__number {
  font-size: clamp(38px, 4.4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--color-brown);
  margin-bottom: 12px;
}

.section--dark .stat__number {
  color: #e2b996;
}

.stat__caption {
  font-weight: 650;
  margin-bottom: 8px;
}

.stat__source {
  font-size: 14px;
  color: var(--color-text-muted);
}

.section--dark .stat__source {
  color: #b7c7bd;
}

/* Two-column split */

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

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 12px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23416954' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}

.check-list--later li::before {
  background: #ebe7e0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='3' fill='%238a8378'/%3E%3C/svg%3E") center / 20px no-repeat;
}

/* Tables */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  background: var(--color-surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  min-width: 760px;
}

th,
td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--color-line);
  vertical-align: top;
}

th {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  background: #faf7f1;
}

tr:last-child td {
  border-bottom: none;
}

tr.row-highlight td {
  background: var(--color-green-soft);
  font-weight: 650;
}

.yes {
  color: var(--color-green);
  font-weight: 700;
}

.no {
  color: #9a9186;
}

.price {
  color: var(--color-brown);
  font-weight: 700;
  white-space: nowrap;
}

/* Timeline */

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--color-line);
}

.timeline li {
  position: relative;
  padding: 0 0 26px 28px;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-green);
  border: 3px solid var(--color-background);
}

.section--surface .timeline li::before {
  border-color: var(--color-surface);
}

.timeline li.timeline__next::before {
  background: var(--color-brown);
}

.timeline__date {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.timeline h3 {
  margin: 2px 0 6px;
  font-size: 19px;
}

.timeline p {
  margin: 0;
}

/* Roadmap */

.roadmap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

@media (max-width: 900px) {
  .roadmap {
    grid-template-columns: 1fr;
  }
}

.roadmap__column h3 {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.roadmap__step {
  font-size: 14px;
  font-weight: 800;
  color: var(--color-brown);
}

/* Architecture diagram */

.architecture {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 18px;
  align-items: stretch;
}

@media (max-width: 900px) {
  .architecture {
    grid-template-columns: 1fr;
  }
}

.architecture__block {
  border-radius: var(--radius-card);
  padding: 22px;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
}

.architecture__block--core {
  background: var(--color-dark);
  color: #e9efe9;
  border-color: var(--color-dark);
}

.architecture__block--core h3 {
  color: #fff;
}

.architecture__block--safety {
  grid-column: 1 / -1;
  background: var(--color-brown-soft);
  border-color: #e3cdb9;
}

.architecture__block ul {
  margin: 0;
  padding-left: 20px;
}

/* Team */

.person__name {
  font-size: 23px;
  font-weight: 800;
  color: var(--color-dark);
  margin: 0;
}

.person__role {
  color: var(--color-green);
  font-weight: 750;
  margin: 2px 0 14px;
}

.person__avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--color-green-soft);
  color: var(--color-green);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 22px;
  margin-bottom: 16px;
  overflow: hidden;
}

.person__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-feature__image {
  position: relative;
}

.product-feature__image .figure-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
}

/* Callout */

.callout {
  border-left: 4px solid var(--color-brown);
  background: var(--color-brown-soft);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  padding: 18px 22px;
  margin-top: 28px;
}

.callout p {
  margin: 0;
}

/* Contact */

.contact {
  text-align: center;
}

.contact .lead {
  margin-inline: auto;
}

.contact__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.section--dark .button {
  background: #fff;
  color: var(--color-dark) !important;
}

.section--dark .button:hover {
  background: var(--color-green-soft);
}

/* Footer */

.site-footer {
  padding: 48px 0 60px;
  font-size: 14px;
  color: var(--color-text-muted);
}

.site-footer h2 {
  font-size: 18px;
  margin-bottom: 12px;
}

.sources {
  columns: 2;
  column-gap: 40px;
  padding-left: 18px;
  margin: 0 0 24px;
}

.sources li {
  break-inside: avoid;
  margin-bottom: 6px;
}

@media (max-width: 760px) {
  .sources {
    columns: 1;
  }
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid var(--color-line);
  padding-top: 20px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
