/* page colours */
body {
  margin: 0;
  background: #f5fafb;
  color: #12394b;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

header {
  background: #12394b;
  color: white;
  padding: 18px 24px;
}

.header-inner {
  max-width: 960px;
  margin: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  text-decoration: none;
  font-size: 22px;
  font-weight: bold;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 18px;
}

nav a {
  color: white;
  text-decoration: none;
  font-size: 15px;
}

nav a:hover,
nav a[aria-current="page"] {
  text-decoration: underline;
}

/* space around the text */
main {
  max-width: 800px;
  min-height: 330px;
  margin: 48px auto;
  padding: 0 24px;
}

h1 {
  font-size: 36px;
  line-height: 1.2;
}

h2 {
  font-size: 22px;
  margin-top: 30px;
}

p,
li {
  font-size: 17px;
}

a {
  color: #12627d;
}

.button {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 20px;
  background: #12627d;
  color: white;
  text-decoration: none;
  border-radius: 4px;
}

footer {
  border-top: 1px solid #cbdfe5;
  padding: 24px;
  text-align: center;
  font-size: 14px;
}

footer a {
  margin-left: 12px;
}

#menu-button {
  display: none;
  margin-top: 14px;
  padding: 8px 12px;
  background: transparent;
  color: white;
  border: 1px solid #9fc2cd;
  border-radius: 4px;
  font-size: 15px;
  cursor: pointer;
}

.skip-link {
  position: absolute;
  top: -60px;
  padding: 8px;
  background: white;
}

.skip-link:focus {
  top: 0;
}

:focus-visible {
  outline: 3px solid #de9a35;
  outline-offset: 4px;
}

/* menu on small screens */
@media (max-width: 600px) {
  #menu-button {
    display: block;
  }

  nav {
    display: none;
    flex-direction: column;
  }

  nav.open {
    display: flex;
  }

  main {
    margin: 32px auto;
  }

  h1 {
    font-size: 30px;
  }
}

/* ocean colours */
body {
  background: #eef5f2;
  color: #102e40;
  font-family: "Trebuchet MS", Arial, sans-serif;
}

header {
  background: #071f35;
  padding: 24px 6%;
}

.header-inner {
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-size: 20px;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

nav {
  margin: 0;
  gap: 20px;
}

nav a {
  color: #d5e5e9;
  font-size: 14px;
}

nav a:hover,
nav a[aria-current="page"] {
  color: #95e6ce;
  text-underline-offset: 7px;
}

main {
  max-width: 1020px;
  min-height: 420px;
  margin: 65px auto;
  padding: 50px;
  background: white;
  border: 1px solid #dce8e3;
  border-radius: 16px;
  box-shadow: 0 16px 40px #12394b08;
}

main h1 {
  font-size: clamp(36px, 5vw, 58px);
  letter-spacing: -2px;
  margin-top: 0;
}

main p,
main li {
  max-width: 650px;
  color: #526b76;
}

.button {
  padding: 13px 24px;
  background: #95e6ce;
  color: #071f35;
  font-weight: bold;
  border-radius: 6px;
}

.button:hover {
  background: #b2efdd;
}

footer {
  background: #071f35;
  color: #bfd4de;
  border: 0;
  padding: 32px 6%;
}

footer a {
  color: #95e6ce;
}

.home {
  max-width: none;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero {
  position: relative;
  overflow: hidden;
  background: #071f35;
  color: white;
  padding: 85px 8% 100px;
}

.hero-content {
  max-width: 1200px;
  margin: auto;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: block;
  color: #95e6ce;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.hero h1 {
  max-width: 750px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.1;
  letter-spacing: -3px;
}

.hero h1 span {
  color: #95e6ce;
}

.hero p {
  max-width: 440px;
  color: #b8d0dc;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.secondary {
  background: transparent;
  border: 1px solid #6b8998;
  color: white;
}

/* shapes in the background */
.waves {
  position: absolute;
  right: -280px;
  top: 60px;
  width: 850px;
  height: 850px;
  border: 1px solid #95e6ce25;
  border-radius: 50%;
  background: radial-gradient(circle, #15617550, transparent 68%);
}

.waves::before,
.waves::after {
  content: "";
  position: absolute;
  inset: 75px;
  border: 1px solid #95e6ce20;
  border-radius: 50%;
}

.waves::after {
  inset: 150px;
}

.intro-strip {
  background: #95e6ce;
  padding: 20px 8%;
  font-size: 14px;
  letter-spacing: 1px;
}

.home-sections {
  max-width: 1200px;
  margin: auto;
  padding: 55px 8%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.home-card {
  padding: 30px;
  border: 1px solid #d1e0da;
  border-radius: 12px;
  background: white;
}

.home-card h2 {
  margin-top: 0;
  font-size: 28px;
  letter-spacing: -1px;
}

.home-card a {
  display: inline-block;
  margin-top: 12px;
  text-decoration: none;
  font-weight: bold;
}

@media (max-width: 1000px) {
  .header-inner {
    flex-wrap: wrap;
  }

  nav {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .header-inner {
    gap: 10px;
  }

  #menu-button {
    margin: 0;
  }

  nav {
    margin-top: 16px;
  }

  main {
    margin: 30px 18px;
    padding: 30px 24px;
    min-height: 350px;
  }

  .home {
    margin: 0;
    padding: 0;
  }

  .hero {
    padding: 65px 7%;
  }

  .hero h1 {
    letter-spacing: -2px;
  }

  .home-sections {
    grid-template-columns: 1fr;
    padding: 30px 7%;
  }

  .waves {
    opacity: 0.4;
    right: -650px;
  }
}

