:root {
  --ink: #08152b;
  --muted: #627084;
  --line: #dbe4ee;
  --paper: #f7fafc;
  --panel: #ffffff;
  --teal: #00796f;
  --teal-2: #00a899;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.11);
  --soft-shadow: 0 14px 38px rgba(15, 23, 42, 0.08);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

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

button {
  font: inherit;
}

.landing-header {
  background:
    radial-gradient(circle at 80% 18%, rgba(0, 168, 153, 0.12), transparent 28%),
    linear-gradient(180deg, #fff 0%, #f5faf8 100%);
  border-bottom: 1px solid rgba(219, 228, 238, 0.9);
}

.top-nav {
  max-width: 1460px;
  height: 88px;
  margin: 0 auto;
  padding: 0 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #101a2e;
  font-size: 24px;
  font-weight: 850;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, var(--teal-2), var(--teal));
  box-shadow: 0 14px 28px rgba(0, 121, 111, 0.24);
}

.brand-mark svg {
  width: 31px;
  height: 31px;
}

.brand-mark path:first-child {
  fill: none;
  stroke: #fff;
  stroke-width: 2.7;
}

.brand-mark path:last-child {
  fill: #fff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #2c3a50;
  font-size: 15px;
  font-weight: 750;
}

.nav-links a:not(.nav-button):hover {
  color: var(--teal);
}

.nav-button,
.nav-test-button,
.primary-button,
.secondary-button {
  min-height: 46px;
  padding: 0 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 850;
  white-space: nowrap;
}

.nav-test-button,
.primary-button {
  color: #fff;
  background: linear-gradient(135deg, var(--teal-2), var(--teal));
  box-shadow: 0 14px 30px rgba(0, 121, 111, 0.22);
}

.nav-button,
.secondary-button {
  color: #0b1426;
  background: #fff;
  border-color: rgba(15, 23, 42, 0.13);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.hero {
  max-width: 1460px;
  margin: 0 auto;
  padding: 86px 44px 104px;
  display: grid;
  grid-template-columns: minmax(380px, 0.72fr) minmax(640px, 1fr);
  gap: 72px;
  align-items: center;
}

.hero h1 {
  max-width: 680px;
  margin: 0 0 24px;
  font-size: clamp(44px, 4.5vw, 64px);
  line-height: 1.06;
  letter-spacing: 0;
}

.hero p {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: 21px;
}

.hero-actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-map,
.workflow-image {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(219, 228, 238, 0.96);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-map img,
.workflow-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
}

main {
  max-width: 1460px;
  margin: 0 auto;
  padding: 92px 44px 116px;
}

.section {
  padding: 64px 0;
}

.cards-section {
  padding-top: 0;
}

.section-head {
  max-width: 820px;
  margin-bottom: 26px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.08;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

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

.feature-cards article {
  min-height: 154px;
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--soft-shadow);
}

.feature-cards h3 {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.2;
}

.feature-cards p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.workflow-section {
  display: grid;
  gap: 82px;
}

.workflow-row {
  display: grid;
  gap: 44px;
  align-items: center;
}

.workflow-row.image-right {
  grid-template-columns: minmax(230px, 1fr) minmax(0, 3fr);
}

.workflow-row.image-left {
  grid-template-columns: minmax(0, 3fr) minmax(230px, 1fr);
}

.workflow-text {
  padding: 8px;
}

.workflow-text span {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  color: #fff;
  background: var(--teal);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 900;
}

.workflow-text h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.08;
}

.workflow-text p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.access-section {
  margin-top: 56px;
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background:
    linear-gradient(135deg, rgba(0, 121, 111, 0.1), rgba(37, 99, 235, 0.06)),
    #fff;
  border: 1px solid rgba(0, 121, 111, 0.16);
  border-radius: 26px;
  box-shadow: var(--soft-shadow);
}

.access-section h2 {
  margin: 0 0 8px;
  font-size: 36px;
  line-height: 1.1;
}

.access-section p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.access-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer {
  max-width: 1460px;
  margin: 0 auto;
  padding: 0 44px 56px;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(360px, 1.4fr) minmax(260px, 0.8fr);
  align-items: flex-start;
  gap: 34px;
  color: var(--muted);
  font-size: 14px;
}

.company {
  display: grid;
  gap: 4px;
}

.company strong {
  color: #132039;
}

.footer-support {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) 118px;
  align-items: center;
  gap: 18px;
}

.footer-support img {
  max-width: 118px;
  max-height: 48px;
  object-fit: contain;
}

.footer-support p {
  margin: 0;
  color: #334155;
  font-size: 13px;
  line-height: 1.45;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
}

.site-footer a {
  color: #006f66;
  border-bottom: 1px solid rgba(0, 111, 102, 0.24);
  font-weight: 720;
}

.cookie-banner {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 100;
  width: min(500px, calc(100vw - 44px));
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.16);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner strong {
  display: block;
  margin-bottom: 4px;
  color: #101a2e;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.cookie-actions a {
  color: #006f66;
  font-size: 14px;
  font-weight: 800;
}

.cookie-actions button {
  min-height: 42px;
  padding: 0 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal-2), var(--teal));
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 850;
}

.legal-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 86% 10%, rgba(0, 168, 153, 0.12), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f6faf9 100%);
}

.legal-header {
  max-width: 1120px;
  margin: 0 auto;
  padding: 26px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.legal-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 28px 80px;
}

.legal-document {
  padding: 44px;
  color: #162033;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--soft-shadow);
}

.legal-document h1 {
  max-width: 860px;
  margin: 0 0 10px;
  color: #071226;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
}

.legal-updated {
  margin: 0 0 34px;
  color: var(--muted);
  font-weight: 750;
}

.legal-document section {
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.legal-document h2 {
  margin: 0 0 12px;
  color: #101a2e;
  font-size: 24px;
}

.legal-document p,
.legal-document li {
  color: #334155;
  font-size: 17px;
}

.legal-document p {
  margin: 0 0 12px;
}

.legal-document ul {
  margin: 0;
  padding-left: 22px;
}

.legal-document li + li {
  margin-top: 8px;
}

.legal-table-wrap {
  overflow-x: auto;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.legal-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  font-size: 15px;
}

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

.legal-table th {
  color: #101a2e;
  background: #f8fafc;
  font-weight: 850;
}

.legal-table td {
  color: #334155;
}

.legal-table tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 1100px) {
  .hero,
  .workflow-row.image-right,
  .workflow-row.image-left {
    grid-template-columns: 1fr;
  }

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

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .top-nav,
  .hero,
  main,
  .site-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .top-nav,
  .site-footer,
  .access-section {
    height: auto;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links,
  .access-actions {
    width: 100%;
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero {
    padding-top: 44px;
    padding-bottom: 58px;
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 39px;
  }

  .feature-cards {
    grid-template-columns: 1fr;
  }

  .footer-support {
    grid-template-columns: 1fr;
  }

  .workflow-section {
    gap: 48px;
  }

  .cookie-banner {
    align-items: flex-start;
    flex-direction: column;
  }
}
