:root {
  --primary: #0f5c5f;
  --primary-dark: #083e40;
  --accent: #37aaa6;
  --text: #143133;
  --muted: #62787a;
  --bg: #f7fbfa;
  --white: #ffffff;
  --border: #dbe8e7;
  --shadow: 0 24px 60px rgba(9, 58, 60, 0.12);
  --container-width: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(
      circle at top left,
      rgba(55, 170, 166, 0.12),
      transparent 30%
    ),
    radial-gradient(
      circle at top right,
      rgba(15, 92, 95, 0.08),
      transparent 34%
    ),
    linear-gradient(180deg, var(--white) 0%, var(--bg) 100%);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--container-width), calc(100% - 32px));
  margin-inline: auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(219, 232, 231, 0.9);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.brand-logo {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
}

.brand-name {
  line-height: 1.1;
}

.brand-name strong,
.brand-name span {
  display: block;
}

.brand-name strong {
  color: var(--primary-dark);
  font-size: 1.02rem;
}

.brand-name span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.77rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--primary);
}

.nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--white) !important;
  background: var(--primary);
}

.hero {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: 64px 0;
}

.hero-grid,
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 13px;
  border-radius: 999px;
  background: #e8f4f3;
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 800;
}

h1 {
  max-width: 650px;
  margin: 0 0 18px;
  color: var(--primary-dark);
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  line-height: 0.98;
}

.hero p,
.section-head p,
.card p,
.step p,
.footer p {
  color: var(--muted);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 17px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-weight: 800;
}

.btn-primary {
  border-color: transparent;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 14px 28px rgba(15, 92, 95, 0.18);
}

.btn-light {
  background: var(--white);
  color: var(--primary-dark);
}

.hero-image {
  display: block;
  width: 100%;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.app-preview-card {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.app-preview-card img {
  display: block;
  width: 100%;
  border-radius: 20px;
}

section {
  padding: 64px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-head.center {
  text-align: center;
  margin-inline: auto;
}

.section-label {
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-head h2 {
  margin: 0 0 14px;
  color: var(--primary-dark);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(9, 58, 60, 0.05);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: #e8f4f3;
  color: var(--primary);
  font-weight: 900;
}

.card h3,
.step h3 {
  margin: 0 0 8px;
  color: var(--primary-dark);
}

.card ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-weight: 600;
}

.highlight-box {
  padding: 32px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  box-shadow: var(--shadow);
}

.highlight-box h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}

.highlight-box p {
  color: rgba(255, 255, 255, 0.84);
}

.highlight-box .btn {
  background: var(--white);
  color: var(--primary-dark);
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--white);
}

.step-no {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  font-weight: 900;
}

.contact-panel {
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-row {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.contact-item {
  padding: 16px;
  border-radius: 18px;
  background: #e8f4f3;
  color: var(--primary-dark);
  font-weight: 800;
}

.legal-dialog {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 47, 49, 0.72);
}

.legal-dialog:target {
  display: flex;
}

.legal-dialog-panel {
  width: min(920px, 100%);
  max-height: min(82vh, 760px);
  overflow: auto;
  padding: 28px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.legal-dialog-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.legal-dialog h2,
.legal-dialog h3 {
  color: var(--primary-dark);
  line-height: 1.15;
}

.legal-dialog p,
.legal-dialog li {
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 600;
}

.legal-dialog hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 20px 0;
}

.legal-dialog-close {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #e8f4f3;
  color: var(--primary-dark);
  font-weight: 900;
}

.footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 28px;
}

.footer h4 {
  margin: 0 0 12px;
  color: var(--primary-dark);
  font-size: 0.95rem;
}

.footer ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer p,
.footer a,
.footer li {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--primary);
}

.copyright {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

@media (max-width: 960px) {
  .hero-grid,
  .split,
  .grid-3,
  .grid-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--container-width), calc(100% - 24px));
  }

  .hero,
  section {
    padding: 48px 0;
  }

  h1 {
    font-size: 2.65rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .footer-grid {
    gap: 24px;
  }

  .copyright {
    flex-direction: column;
  }
}
