:root {
  --bg: #f4f7f8;
  --text: #1f2933;
  --muted: #52606d;
  --nav: #34495e;
  --accent: #6fafb7;
  --accent-dark: #4f929b;
  --line: #d9e2ec;
  --white-soft: rgba(255, 255, 255, 0.58);
  --page-pad: clamp(22px, 7vw, 104px);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 18%, rgba(111, 175, 183, 0.16), transparent 28rem),
    linear-gradient(180deg, #f8fbfb 0%, var(--bg) 48%, #eef4f5 100%);
}

a {
  color: inherit;
}

.site-header {
  width: 100%;
  padding: 22px var(--page-pad) 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.logo-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-link img {
  display: block;
  width: clamp(220px, 18vw, 260px);
  max-width: 100%;
  height: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(22px, 3vw, 42px);
  min-width: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 36px);
  flex-wrap: nowrap;
}

.site-nav a {
  text-decoration: none;
  color: var(--nav);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
}

.button-primary {
  color: #ffffff;
  background: var(--accent);
}

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

.button-secondary {
  color: var(--text);
  background: var(--white-soft);
  border: 1px solid var(--line);
}

.nav-cta {
  flex: 0 0 auto;
}

.hero {
  min-height: calc(100vh - 82px);
  padding: 34px var(--page-pad) 88px;
  display: grid;
  grid-template-columns: minmax(0, 650px) minmax(260px, 1fr);
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
}

.hero-content {
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--accent);
  font-size: 1.05rem;
  font-weight: 800;
}

h1 {
  margin: 0 0 28px;
  font-size: clamp(2.8rem, 5.4vw, 5rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-text {
  max-width: 620px;
  margin: 0 0 42px;
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.mist-circle {
  width: min(34vw, 460px);
  min-width: 260px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    rgba(111, 175, 183, 0.3),
    rgba(111, 175, 183, 0.09) 48%,
    rgba(111, 175, 183, 0) 72%
  );
  filter: blur(14px);
}

@media (max-width: 1100px) {
  .site-header {
    align-items: flex-start;
  }

  .header-actions {
    flex-wrap: wrap;
    row-gap: 18px;
  }

  .site-nav {
    justify-content: flex-end;
    flex-wrap: wrap;
    row-gap: 14px;
  }
}

@media (max-width: 820px) {
  .site-header {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding-top: 24px;
  }

  .header-actions,
  .site-nav {
    width: 100%;
    justify-content: center;
  }

  .header-actions {
    flex-direction: column;
    gap: 22px;
  }

  .logo-link img {
    width: clamp(220px, 64vw, 250px);
  }

  .hero {
    min-height: auto;
    padding-top: 52px;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content,
  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-visual {
    min-height: 240px;
  }

  .mist-circle {
    width: min(72vw, 300px);
    min-width: 220px;
  }
}

@media (max-width: 520px) {
  .site-nav {
    gap: 16px 20px;
  }

  .site-nav a {
    font-size: 0.95rem;
  }

  .button {
    width: 100%;
    max-width: 320px;
    white-space: normal;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 3.3rem);
  }

  .hero-text {
    font-size: 1.1rem;
  }
}

/* Backward compatibility for any cached older HTML */
.navbar {
  width: 100%;
  padding: 22px var(--page-pad) 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
}

.logo img {
  display: block;
  width: clamp(220px, 18vw, 260px);
  max-width: 100%;
  height: auto;
}

.navbar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(22px, 3vw, 42px);
  min-width: 0;
}

.navbar nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 36px);
  flex-wrap: nowrap;
}

.navbar nav a {
  text-decoration: none;
  color: var(--nav);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.cta-button,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
  color: #ffffff;
  background: var(--accent);
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
  color: var(--text);
  background: var(--white-soft);
  border: 1px solid var(--line);
}

@media (max-width: 1100px) {
  .navbar {
    align-items: flex-start;
  }

  .navbar-right {
    flex-wrap: wrap;
    row-gap: 18px;
  }

  .navbar nav {
    justify-content: flex-end;
    flex-wrap: wrap;
    row-gap: 14px;
  }
}

@media (max-width: 820px) {
  .navbar {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding-top: 24px;
  }

  .navbar-right,
  .navbar nav {
    width: 100%;
    justify-content: center;
  }

  .navbar-right {
    flex-direction: column;
    gap: 22px;
  }

  .logo img {
    width: clamp(220px, 64vw, 250px);
  }
}

@media (max-width: 520px) {
  .cta-button,
  .primary-button,
  .secondary-button {
    width: 100%;
    max-width: 320px;
    white-space: normal;
  }
}
