:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
  background: #f4f1e9;
  color: #152c32;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 82% 16%, rgba(127, 180, 183, .16), transparent 25rem),
    radial-gradient(ellipse at 8% 72%, rgba(199, 185, 155, .14), transparent 34rem),
    linear-gradient(180deg, #f8f6ef 0%, #f1eee5 100%);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .28;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.07'/%3E%3C/svg%3E");
}

main { width: min(880px, calc(100% - 40px)); margin: 0 auto; padding: 40px 0 72px; }
nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-links { display: flex; gap: 24px; }
a { color: #285e64; text-underline-offset: 4px; }
nav a { color: #52666a; text-decoration: none; font-size: 14px; }
nav a[aria-current="page"] { color: #18383d; }
.brand { color: #18383d; font-family: "Songti SC", "STSong", serif; font-size: 19px; letter-spacing: .08em; }

.hero { min-height: 650px; padding: 132px 0 80px; position: relative; overflow: hidden; }
.eyebrow { margin: 0 0 24px; color: #66878a; font-size: 12px; font-weight: 600; letter-spacing: .18em; }
h1, h2 { font-family: "Songti SC", "STSong", serif; font-weight: 600; }
h1 { max-width: 720px; margin: 0; font-size: clamp(44px, 8vw, 78px); line-height: 1.18; letter-spacing: -.055em; }
h2 { margin: 0; color: #1b373c; font-size: 25px; line-height: 1.45; }
p, li { color: #51666a; font-size: 17px; line-height: 1.8; }
.lead { max-width: 650px; margin: 28px 0 0; color: #344f54; font-size: 21px; line-height: 1.75; }
.meta { margin-top: 24px; color: #819092; font-size: 14px; }

.tide-mark { position: absolute; right: 1%; bottom: 28px; width: 320px; height: 210px; opacity: .8; transform: rotate(-4deg); }
.tide-mark span { position: absolute; inset: 0; display: block; border: 1px solid rgba(75, 133, 137, .26); border-radius: 48% 52% 55% 45% / 54% 43% 57% 46%; background: rgba(160, 207, 206, .08); box-shadow: inset -18px -12px 28px rgba(69, 120, 125, .08), inset 14px 12px 24px rgba(255, 255, 255, .54); }
.tide-mark span:nth-child(2) { inset: 26px 44px 34px 34px; border-radius: 52% 48% 44% 56% / 46% 56% 44% 54%; }
.tide-mark span:nth-child(3) { inset: 68px 96px 74px 88px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(42, 74, 78, .18); border-bottom: 1px solid rgba(42, 74, 78, .18); }
.feature-grid article { padding: 42px 30px 42px 0; }
.feature-grid article + article { padding-left: 30px; border-left: 1px solid rgba(42, 74, 78, .18); }
.feature-grid p { margin-bottom: 0; }
.number { margin: 0 0 34px !important; color: #7ba2a3 !important; font-size: 12px !important; letter-spacing: .16em; }
.safety { max-width: 620px; padding: 110px 0 72px; }
.safety h2 { font-size: clamp(30px, 5vw, 48px); }

.page-header { padding: 120px 0 74px; border-bottom: 1px solid rgba(42, 74, 78, .18); }
.page-header h1 { font-size: clamp(42px, 7vw, 68px); }
.prose { max-width: 700px; padding: 54px 0 24px; }
.prose h2 { margin-top: 52px; font-size: 23px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 12px 0 0; }

footer { display: flex; justify-content: space-between; gap: 20px; margin-top: 72px; padding-top: 24px; border-top: 1px solid rgba(42, 74, 78, .18); color: #819092; font-size: 13px; }
footer a { color: inherit; }

@media (max-width: 700px) {
  main { width: min(100% - 32px, 880px); padding-top: 28px; }
  .nav-links { gap: 16px; }
  .hero { min-height: 620px; padding-top: 100px; }
  .lead { font-size: 19px; }
  .tide-mark { right: -70px; width: 280px; height: 185px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { padding: 34px 0; }
  .feature-grid article + article { padding-left: 0; border-left: 0; border-top: 1px solid rgba(42, 74, 78, .18); }
  .number { margin-bottom: 18px !important; }
  .page-header { padding-top: 90px; }
  footer { flex-direction: column; }
}

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