:root {
  --ocean-blue: #2a8cae;
  --deep-ocean: #1e5f7a;
  --soft-white: #fefefe;
  --charcoal: #1a1a1a;
  --pale-blue: #e8f2f6;
  --gray-text: #5a6b73;
  --light-bg: #f5f7f8;
  --container: 80rem;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  font-size: 16px;
  background: var(--soft-white);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--charcoal);
  background: var(--soft-white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body,
button,
a {
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--soft-white);
  background: var(--ocean-blue);
  isolation: isolate;
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  z-index: -2;
}

.hero-media img {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  z-index: -1;
  background: linear-gradient(180deg, rgb(0 0 0 / 0.3) 0%, rgb(0 0 0 / 0.2) 48%, rgb(0 0 0 / 0.4) 100%);
}

.hero-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 5rem 2rem;
}

.hero-content {
  max-width: 32rem;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.5rem, 11vw, 3.5rem);
  font-weight: 300;
  line-height: 1.1;
}

.hero-subtitle {
  max-width: 36rem;
  margin-bottom: 1.5rem;
  color: rgb(254 254 254 / 0.95);
  font-size: clamp(1.125rem, 4.5vw, 1.375rem);
  font-weight: 300;
  line-height: 1.5;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  max-width: 100%;
  padding: 1rem 2rem;
  border-radius: 0.375rem;
  color: var(--charcoal);
  background: var(--soft-white);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 300ms ease, box-shadow 300ms ease, transform 300ms ease;
}

.hero-cta:hover {
  background: rgb(254 254 254 / 0.95);
  box-shadow: 0 10px 25px rgb(0 0 0 / 0.1);
  transform: translateY(-1px);
}

.hero-cta:active {
  box-shadow: 0 5px 15px rgb(0 0 0 / 0.1);
  transform: translateY(0);
}

.hero-note {
  margin-top: 2rem;
  color: rgb(254 254 254 / 0.75);
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.6;
}

.services {
  padding: 5rem 2rem;
  background: #ffffff;
}

.section-inner {
  max-width: var(--container);
  margin: 0 auto;
}

.services h2 {
  margin-bottom: 4rem;
  color: var(--charcoal);
  font-size: clamp(2rem, 8vw, 2.25rem);
  font-weight: 300;
  line-height: 1.2;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

.service {
  text-align: center;
}

.service h3 {
  margin-bottom: 1rem;
  color: var(--charcoal);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.25;
}

.service p {
  color: var(--gray-text);
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.7;
}

.site-footer {
  padding: 4rem 2rem;
  border-top: 1px solid var(--pale-blue);
  background: var(--light-bg);
  text-align: center;
}

.site-footer p {
  margin-bottom: 0.5rem;
  color: var(--gray-text);
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.5;
}

.site-footer a {
  color: var(--ocean-blue);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  text-decoration: none;
  transition: color 300ms ease;
}

.site-footer a:hover {
  color: var(--deep-ocean);
}

.hero-cta:focus-visible,
.site-footer a:focus-visible {
  outline: 2px solid var(--ocean-blue);
  outline-offset: 0.25rem;
}

@media (min-width: 48rem) {
  .hero-inner {
    padding-right: 4rem;
    padding-left: 4rem;
  }

  .services {
    padding-right: 4rem;
    padding-left: 4rem;
  }

  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem;
  }

  .service {
    text-align: left;
  }

  .site-footer {
    padding-right: 4rem;
    padding-left: 4rem;
  }
}

@media (min-width: 64rem) {
  .hero-inner {
    padding-right: 6rem;
    padding-left: 6rem;
  }

  .services {
    padding: 8rem 6rem;
  }

  .services h2 {
    margin-bottom: 5rem;
  }

  .services-grid {
    gap: 5rem;
  }

  .site-footer {
    padding-right: 6rem;
    padding-left: 6rem;
  }
}

@media (max-width: 23rem), (max-height: 36rem) {
  .hero-inner {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  h1 {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-cta {
    min-height: 3rem;
    padding: 0.875rem 1.35rem;
  }
}
