:root {
  --bg: #f7faf7;
  --ink: #11181c;
  --muted: #5b6762;
  --line: #d7e1dc;
  --white: #ffffff;
  --deep: #06181e;
  --deep-soft: #0c2b31;
  --teal: #087d7a;
  --teal-dark: #075f5d;
  --moss: #6f8f4d;
  --amber: #c68a3a;
  --panel: #eef5f0;
  --shadow: 0 18px 48px rgba(6, 24, 30, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

.site-header,
.site-footer {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header {
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  font-size: 18px;
  font-weight: 750;
}

.brand-mark {
  position: relative;
  display: inline-block;
  width: 34px;
  height: 34px;
  border: 2px solid var(--teal);
  border-radius: 50%;
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  content: "";
  inset: 6px;
  border: 1.5px solid var(--teal);
  border-left: 0;
  border-right: 0;
  border-radius: 50%;
}

.brand-mark::after {
  inset: 4px 14px;
  border: 0;
  border-left: 1.5px solid var(--teal);
  border-right: 1.5px solid var(--teal);
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
  font-weight: 650;
}

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

nav a:hover,
nav a[aria-current="page"] {
  color: var(--ink);
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(56px, 9vw, 112px);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 24px;
  line-height: 1.18;
  letter-spacing: 0;
}

h4 {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero {
  min-height: clamp(540px, calc(100svh - 140px), 740px);
  display: flex;
  align-items: center;
  background-color: var(--deep);
  background-image: url("assets/earth-observation.jpg");
  background-position: center;
  background-size: cover;
  color: var(--white);
}

.hero-copy {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0 128px;
}

.hero p {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.45;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--teal);
  color: var(--white);
  padding: 0 20px;
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
}

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

.text-link {
  color: inherit;
  font-size: 15px;
  font-weight: 750;
  text-decoration-color: currentColor;
  text-underline-offset: 4px;
}

.hero .text-link {
  color: rgba(255, 255, 255, 0.9);
}

.focus-section,
.apps-section,
.contact-section,
.policy-page {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.focus-section {
  padding: 86px 0 78px;
}

.section-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: 72px;
  align-items: end;
  margin-bottom: 44px;
}

.section-copy p,
.focus-grid p,
.app-feature p,
.contact-section p,
.policy p {
  color: var(--muted);
}

.section-copy p {
  margin-bottom: 0;
  font-size: 18px;
}

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

.focus-grid article {
  padding-top: 18px;
}

.focus-rule {
  display: block;
  width: 100%;
  height: 2px;
  margin-bottom: 24px;
  background: linear-gradient(90deg, var(--teal), var(--moss), transparent);
}

.apps-section {
  padding: 76px 0 88px;
  border-top: 1px solid var(--line);
}

.app-feature {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.app-header {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 28px;
  padding: 34px;
}

.app-icon {
  display: grid;
  width: 104px;
  height: 104px;
  place-items: center;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(8, 125, 122, 0.95), rgba(6, 24, 30, 0.98)),
    repeating-linear-gradient(0deg, transparent 0 15px, rgba(255, 255, 255, 0.16) 15px 16px);
  color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  font-size: 28px;
  font-weight: 800;
}

.app-header h3 {
  font-size: clamp(30px, 4vw, 46px);
}

.app-header p {
  max-width: 780px;
  margin-bottom: 0;
  font-size: 18px;
}

.app-details {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.app-details > div {
  padding: 30px 34px 34px;
}

.privacy-statement {
  border-left: 1px solid var(--line);
  background: var(--panel);
}

.privacy-statement p:last-of-type,
.app-details p:last-of-type {
  margin-bottom: 0;
}

.privacy-statement .text-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--teal-dark);
}

.contact-section {
  padding: 70px 0 78px;
  border-top: 1px solid var(--line);
}

.contact-section div {
  max-width: 760px;
}

.policy-page {
  padding: 74px 0 92px;
}

.policy {
  max-width: 840px;
}

.policy h1 {
  margin-bottom: 24px;
  color: var(--ink);
  font-size: clamp(46px, 7vw, 74px);
}

.policy h2 {
  margin-top: 38px;
  margin-bottom: 10px;
  font-size: 25px;
  line-height: 1.2;
}

.policy p {
  max-width: 760px;
}

.updated {
  margin-bottom: 12px;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 750;
  text-transform: uppercase;
}

.site-footer {
  padding: 30px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

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

@media (max-width: 860px) {
  .site-header,
  .site-footer,
  .hero-copy,
  .focus-section,
  .apps-section,
  .contact-section,
  .policy-page {
    width: min(100% - 28px, 1160px);
  }

  .site-header {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  nav {
    gap: 12px 16px;
  }

  .hero {
    min-height: clamp(480px, calc(100svh - 150px), 620px);
    background-position: 44% center;
  }

  .hero-copy {
    padding: 80px 0 96px;
  }

  h1 {
    font-size: clamp(44px, 12vw, 50px);
  }

  .section-copy,
  .focus-grid,
  .app-header,
  .app-details {
    grid-template-columns: 1fr;
  }

  .section-copy {
    gap: 18px;
    margin-bottom: 34px;
  }

  .focus-section,
  .apps-section,
  .contact-section {
    padding-top: 56px;
    padding-bottom: 58px;
  }

  .app-header {
    gap: 20px;
    padding: 24px;
  }

  .app-icon {
    width: 82px;
    height: 82px;
    font-size: 23px;
  }

  .app-details > div {
    padding: 24px;
  }

  .privacy-statement {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .policy-page {
    padding: 52px 0 70px;
  }
}
