:root {
  --color-ink: #10273c;
  --color-ink-soft: #4b6070;
  --color-ocean: #132f47;
  --color-ocean-deep: #0b2237;
  --color-sand: #f1ebe0;
  --color-paper: #f7f9fb;
  --color-white: #ffffff;
  --color-accent: #f0ac2e;
  --color-accent-deep: #ce9124;
  --color-border: rgba(16, 39, 60, 0.12);
  --shadow-soft: 0 24px 60px rgba(11, 34, 55, 0.14);
  --shadow-card: 0 16px 40px rgba(11, 34, 55, 0.08);
  --radius-large: 28px;
  --radius-medium: 18px;
  --radius-small: 12px;
  --container: 1100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--color-ink);
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.9), rgba(247, 249, 251, 0) 35%),
    var(--color-paper);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

svg {
  display: block;
  width: 100%;
  height: 100%;
}

.site-shell {
  overflow: hidden;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 72vh;
  padding: 3rem 0 4.5rem;
  color: var(--color-white);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 18%),
    linear-gradient(135deg, var(--color-ocean) 0%, var(--color-ocean-deep) 100%);
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.16), transparent 28%),
    radial-gradient(circle at 20% 75%, rgba(240, 172, 46, 0.12), transparent 22%);
  opacity: 0.9;
}

.hero__wave {
  position: absolute;
  inset: auto 0 0;
  height: 10rem;
  color: rgba(255, 255, 255, 0.08);
}

.hero__wave path {
  fill: currentColor;
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero__logo-frame {
  width: min(10rem, 22vw);
  margin: 0 auto 1.5rem;
}

.hero__logo {
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.eyebrow {
  margin: 0 0 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.9rem, 7vw, 4.7rem);
}

h2 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}

h3 {
  font-size: 1.4rem;
}

p {
  margin: 0;
  font-size: 1.05rem;
  color: var(--color-ink-soft);
}

.hero__lede {
  max-width: 40rem;
  margin: 1.15rem auto 0;
  font-size: clamp(1.06rem, 2.2vw, 1.3rem);
  color: rgba(255, 255, 255, 0.76);
}

.hero .button {
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  margin-top: 2rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button:focus-visible {
  outline: 3px solid rgba(240, 172, 46, 0.35);
  outline-offset: 3px;
}

.button--accent {
  background: var(--color-accent);
  color: var(--color-ocean);
  box-shadow: 0 16px 34px rgba(240, 172, 46, 0.24);
}

.button--accent:hover,
.button--accent:focus-visible {
  background: var(--color-accent-deep);
}

.button--primary {
  background: var(--color-ocean);
  color: var(--color-white);
  box-shadow: var(--shadow-card);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--color-ocean-deep);
}

.section {
  padding: clamp(4.75rem, 10vw, 7.5rem) 0;
}

.section--light {
  background: transparent;
}

.section--sand {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0)),
    var(--color-sand);
}

.section__body {
  display: grid;
  gap: 1.4rem;
  text-align: center;
}

.section__body--narrow {
  max-width: 46rem;
  margin: 0 auto;
}

.card-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
}

.card {
  padding: 2rem;
  border: 1px solid rgba(19, 47, 71, 0.08);
  border-radius: var(--radius-large);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(10px);
}

.card__icon {
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1.2rem;
  padding: 0.8rem;
  border-radius: 50%;
  color: var(--color-ocean);
  background: rgba(19, 47, 71, 0.08);
}

.card__icon svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.card h3 {
  margin-bottom: 0.8rem;
}

.footer {
  padding: 1.5rem 0 2.5rem;
  background: var(--color-ocean);
}

.footer p {
  margin: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

@media (min-width: 720px) {
  .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 719px) {
  .hero {
    min-height: 68vh;
    padding-top: 2.5rem;
    padding-bottom: 4rem;
  }

  .hero__wave {
    height: 7rem;
  }

  .hero__logo-frame {
    width: min(8rem, 34vw);
    margin-bottom: 1.1rem;
  }

  .card {
    padding: 1.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
