/* ---------------------------------------------------------------------------
   For the Shores : styles
   Plain CSS, no build step. Custom properties up top for easy theming.
--------------------------------------------------------------------------- */

:root {
  --deep:      #062a3d;   /* deep ocean */
  --deep-2:    #0a3d54;
  --teal:      #0e7c86;
  --teal-2:    #14a3a3;
  --aqua:      #37c6c0;
  --sand:      #f3ede1;
  --paper:     #ffffff;
  --paper-alt: #f4f8f9;
  --ink:       #10242c;
  --ink-soft:  #45606a;
  --line:      #dce7ea;

  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(6, 42, 61, 0.25);
  --shadow-sm: 0 4px 14px -8px rgba(6, 42, 61, 0.35);
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
          "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; color: var(--deep); letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: var(--teal); }

.container { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.narrow { max-width: 720px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--deep); color: #fff; padding: .6rem 1rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-block; font-weight: 650; text-decoration: none;
  padding: .8rem 1.5rem; border-radius: 999px; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--aqua); color: var(--deep); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: #4bd3cc; }
.btn-ghost { background: transparent; color: #eafaf8; border: 1.5px solid rgba(255,255,255,.5); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--deep); }
.brand-mark { width: 30px; height: 30px; color: var(--teal); }
.brand-name { font-weight: 800; letter-spacing: -0.02em; font-size: 1.15rem; }

.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a { text-decoration: none; color: var(--ink-soft); font-weight: 550; font-size: .98rem; }
.site-nav a:hover { color: var(--deep); }
.site-nav .nav-cta {
  background: var(--deep); color: #fff; padding: .5rem 1.1rem; border-radius: 999px;
}
.site-nav .nav-cta:hover { background: var(--deep-2); color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--deep); border-radius: 2px; transition: .2s; }

/* ---- Hero ---- */
.hero {
  position: relative;
  background: radial-gradient(120% 120% at 80% -10%, var(--teal) 0%, var(--deep-2) 45%, var(--deep) 100%);
  color: #eafaf8;
  padding: clamp(3.5rem, 9vw, 7rem) 0 8rem;
  overflow: hidden;
}
.hero-inner { max-width: 760px; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 700; color: var(--aqua); margin-bottom: 1rem; }
.hero h1 { color: #fff; margin-bottom: 1.2rem; }
.hero-lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: #d3ecec; max-width: 62ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 1.8rem 0 1.2rem; }
.hero-note { font-size: .9rem; color: #9fc7c9; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; }
.hero-wave svg { width: 100%; height: 90px; }
.hero-wave path { fill: var(--paper); }

/* ---- Sections ---- */
.section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--paper-alt); }
.section-head { max-width: 640px; margin-bottom: 2.5rem; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }
.section-foot { margin-top: 2rem; color: var(--ink-soft); }

/* ---- Stats ---- */
.stat-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem; margin-bottom: 2.75rem;
}
.stat {
  background: var(--deep); color: #eafaf8; border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
}
.stat-num { display: block; font-size: 1.9rem; font-weight: 800; color: var(--aqua); line-height: 1.1; }
.stat-label { display: block; font-size: .92rem; color: #cfe6e6; margin-top: .4rem; }

/* ---- Cards ---- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.1rem; }
.card {
  display: block; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.4rem; text-decoration: none; color: inherit;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--aqua); }
.card h3 { color: var(--deep); }
.card p { color: var(--ink-soft); font-size: .96rem; margin-bottom: .8rem; }
.card-link { font-weight: 650; color: var(--teal); font-size: .95rem; }
.tag {
  display: inline-block; font-size: .78rem; font-weight: 650; letter-spacing: .02em;
  color: var(--teal); background: rgba(20,163,163,.1); padding: .25rem .7rem; border-radius: 999px;
}
.section-alt .card { background: var(--paper); }

/* ---- Action list ---- */
.action-list { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 1rem; }
.action-list li {
  counter-increment: step; position: relative;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.4rem 4.4rem;
}
.action-list li::before {
  content: counter(step); position: absolute; left: 1.3rem; top: 1.3rem;
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background: var(--aqua); color: var(--deep); font-weight: 800;
  display: grid; place-items: center;
}
.action-list h3 { margin-bottom: .3rem; }
.action-list p { margin: 0; color: var(--ink-soft); }

/* ---- Prose / stay ---- */
.prose { font-size: 1.08rem; color: var(--ink-soft); }
.prose.center { text-align: center; }
.center { text-align: center; }
.stay { background: linear-gradient(180deg, var(--paper-alt), #e7f2f2); }

/* ---- Footer ---- */
.site-footer { background: var(--deep); color: #b9d6d8; padding: 3rem 0 2.5rem; }
.footer-inner { display: grid; gap: 1.4rem; }
.site-footer .brand-name { color: #fff; font-size: 1.15rem; }
.footer-brand p { color: #9fc7c9; margin: .3rem 0 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.3rem; }
.footer-nav a { color: #cfe6e6; text-decoration: none; font-weight: 550; }
.footer-nav a:hover { color: #fff; }
.footer-legal { font-size: .85rem; color: #7fa9ac; margin: 0; max-width: 70ch; }

/* ---- Responsive ---- */
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: 66px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: .5rem 1.25rem 1.25rem;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .8rem .2rem; border-bottom: 1px solid var(--line); }
  .site-nav .nav-cta { text-align: center; margin-top: .8rem; border-bottom: 0; }
}

@media (min-width: 761px) {
  .footer-inner { grid-template-columns: 1fr auto; align-items: center; }
  .footer-legal { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
