:root {
  --sea: #0f3b44;
  --deep: #0a2a31;
  --sand: #f2f4f1;
  --brass: #b8832f;
  --ink: #1d2a2d;
  --mute: #5b6b6e;
  --line: #d4dbd8;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
  font-family: "Public Sans", Arial, sans-serif;
  color: var(--ink);
  background: var(--sand);
  line-height: 1.65;
  font-size: 17px;
}
h1, h2, h3, .logo { font-family: "Familjen Grotesk", Arial, sans-serif; line-height: 1.15; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }

.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 6vw;
  background: var(--sand);
  border-bottom: 1px solid var(--line);
}
.logo { font-weight: 700; font-size: 1.25rem; text-decoration: none; color: var(--sea); }
.logo span { color: var(--brass); }
nav { display: flex; gap: 26px; align-items: center; }
nav a { text-decoration: none; font-size: 0.95rem; font-weight: 500; }
nav a:hover { color: var(--brass); }
nav .pill { background: var(--sea); color: #fff; padding: 9px 18px; border-radius: 4px; }
nav .pill:hover { background: var(--deep); color: #fff; }
.menu { display: none; background: none; border: 1px solid var(--sea); color: var(--sea); padding: 7px 14px; font: inherit; font-weight: 500; border-radius: 4px; cursor: pointer; }

.hero {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
  padding: 90px 6vw 80px;
  background: var(--sea); color: #fff;
  position: relative; overflow: hidden;
}
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.7rem); font-weight: 700; max-width: 16em; }
.hero p { margin: 24px 0 32px; max-width: 34em; color: #cfe0df; }
.waves { width: 100%; height: auto; }
.waves path { fill: none; stroke: var(--brass); stroke-width: 2; opacity: 0.8; }
.waves path:nth-child(2) { opacity: 0.55; }
.waves path:nth-child(3) { opacity: 0.35; }
.waves path:nth-child(4) { opacity: 0.2; }
.btns { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.btn {
  display: inline-block; background: var(--brass); color: #fff;
  padding: 13px 26px; border: 0; border-radius: 4px;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
}
.btn:hover { background: #9c6f26; }
.link { color: #fff; text-decoration-color: var(--brass); text-underline-offset: 4px; }

.block { padding: 80px 6vw; }
.block h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 34px; color: var(--sea); }
.list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 60px; }
.list article { padding: 24px 0; border-top: 1px solid var(--line); }
.list h3 { font-size: 1.2rem; margin-bottom: 8px; }
.list p { color: var(--mute); max-width: 32em; }

.dark { background: var(--deep); color: #fff; }
.dark h2 { color: #fff; }
.steps { list-style: none; counter-reset: s; max-width: 46em; }
.steps li { counter-increment: s; position: relative; padding: 0 0 26px 56px; color: #cfe0df; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid var(--brass); color: var(--brass);
  display: grid; place-items: center; font-weight: 600;
}
.steps b { color: #fff; }

.wide { max-width: 44em; margin-bottom: 18px; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; background: #e6ebe8; }
.contact p a { color: var(--sea); font-weight: 600; }
form { display: grid; gap: 18px; }
label { display: grid; gap: 6px; font-weight: 500; font-size: 0.95rem; }
input, textarea {
  font: inherit; padding: 11px 12px; border: 1px solid #aebbb7;
  border-radius: 4px; background: #fff; color: var(--ink);
}
form .btn { justify-self: start; }
.note { color: var(--sea); font-size: 0.95rem; min-height: 1.4em; }

footer { background: var(--deep); color: #cfe0df; padding: 56px 6vw 24px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; }
.foot strong { display: block; color: #fff; margin-bottom: 10px; font-family: "Familjen Grotesk", Arial, sans-serif; }
.foot a { display: block; text-decoration: none; margin-bottom: 6px; font-size: 0.95rem; }
.foot a:hover { color: var(--brass); }
.foot p { max-width: 24em; font-size: 0.95rem; }
.copy { margin-top: 40px; padding-top: 18px; border-top: 1px solid #1f464e; font-size: 0.85rem; }

@media (max-width: 800px) {
  body { font-size: 16px; }
  .menu { display: block; }
  nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--sand); border-bottom: 1px solid var(--line);
  }
  nav.open { display: flex; }
  nav a { padding: 14px 6vw; border-top: 1px solid var(--line); }
  nav .pill { margin: 12px 6vw; text-align: center; }
  .hero { grid-template-columns: 1fr; padding: 60px 6vw 50px; }
  .waves { display: none; }
  .block { padding: 56px 6vw; }
  .list, .contact, .foot { grid-template-columns: 1fr; }
  .contact { gap: 32px; }
  .foot { gap: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}