:root {
  --navy: #12305c;
  --ink: #111111;
  --cream: #fdf7ee;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: 'Montserrat', system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

.hero {
  position: relative;
  min-height: 78vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.waves {
  position: absolute; inset: 0; z-index: 0;
  background: url("waves.jpg") center / cover no-repeat;
}
.waves::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(253,247,238,.35) 0%, rgba(253,247,238,.18) 100%);
}

.top {
  position: relative; z-index: 1;
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px 36px;
}
.brand {
  font-family: 'Nunito', 'Montserrat', sans-serif;
  font-weight: 300; font-size: 44px; letter-spacing: 0.5px;
  color: var(--navy);
}
.top nav a {
  font-family: 'Nunito', sans-serif;
  font-weight: 400; font-size: 18px; color: var(--navy);
  margin-left: 22px;
}
.top nav a:hover { text-decoration: underline; }

.content {
  position: relative; z-index: 1;
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 40px 24px 80px;
  max-width: 880px; margin: 0 auto;
}
h1 {
  font-family: 'Nunito', 'Montserrat', sans-serif;
  font-weight: 400; font-size: clamp(36px, 5.2vw, 64px);
  line-height: 1.1; margin: 0 0 36px;
}
.lede, .note { font-size: 19px; line-height: 1.5; margin: 0; color: #1d1d2b; }
.lede { max-width: 620px; margin-bottom: 44px; }
.note { max-width: 640px; margin-top: 64px; }
.button {
  display: inline-block;
  background: var(--navy); color: #fff;
  font-weight: 600; font-size: 19px;
  padding: 24px 64px; border-radius: 8px;
  transition: filter .15s;
}
.button:hover { filter: brightness(1.15); }

footer {
  display: flex; justify-content: space-between; align-items: flex-end;
  padding: 36px 48px 40px;
  background: var(--cream);
  font-size: 14px;
}
footer .left a { display: block; margin-top: 18px; }
footer .left a:first-child { margin-top: 0; }
footer .social a { display: inline-block; margin-left: 18px; color: var(--ink); }

@media (max-width: 640px) {
  .top { padding: 20px 20px; }
  .brand { font-size: 34px; }
  .top nav a { font-size: 16px; margin-left: 16px; }
  .button { padding: 20px 36px; font-size: 17px; }
  .lede, .note { font-size: 17px; }
  footer { padding: 28px 24px 32px; }
}
