*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--island-font);
  background-color: var(--island-background);
  color: var(--island-text);
  line-height: 1.7;
  overflow-x: hidden;
  font-size: 1.05rem;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--island-heading);
  line-height: 1.35;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1.2rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

ul, ol {
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
}

li {
  margin-bottom: 0.5rem;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background: var(--island-green-dark);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--island-radius-sm);
  z-index: 9999;
  transition: top 0.2s ease;
  font-weight: 600;
}

.skip-link:focus {
  top: 15px;
}

:focus-visible {
  outline: 3px solid var(--island-green);
  outline-offset: 3px;
}

[id] {
  scroll-margin-top: 90px;
}
