.section.safety-notes {
  padding-block: clamp(40px, 5.5vw, 72px);
  background: radial-gradient(ellipse at 18% 0%, color-mix(in srgb, var(--blue) 9%, white), transparent 56%),
    radial-gradient(ellipse at 95% 24%, color-mix(in srgb, var(--orange) 10%, white), transparent 48%), #fff;
}

.safety-notes .section-heading {
  max-width: 700px;
  margin-bottom: clamp(18px, 2.5vw, 28px);
}

.safety-notes .section-heading h2 {
  margin: 0;
  font-size: clamp(25px, 3.5vw, 40px);
  text-wrap: balance;
}

.safety-notes .section-heading em {
  color: var(--dark);
}

.safety-notes-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: clamp(12px, 1.6vw, 18px);
}

.safety-notes-card {
  --note-brand: var(--green);
  --note-accent: color-mix(in srgb, var(--note-brand) 35%, var(--navy));
  --note-tint: color-mix(in srgb, var(--note-brand) 14%, white);
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 6px 18px #173c340b;
}

.safety-notes-card--warning {
  --note-brand: var(--orange);
}

.safety-notes-card--boat {
  --note-brand: var(--blue);
  grid-column: 1 / -1;
}

.safety-notes-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  min-height: 60px;
  background: var(--note-tint);
  color: var(--note-accent);
}

.safety-notes-icon,
.safety-notes-card li span {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  font-weight: 700;
}

.safety-notes-icon {
  width: 32px;
  height: 32px;
  background: var(--note-brand);
}

.safety-notes-icon::before {
  content: "";
  width: 18px;
  height: 18px;
  background: var(--navy);
  mask: var(--safety-icon) center / contain no-repeat;
}

.safety-notes-card h3 {
  margin: 0;
  color: inherit;
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.25;
  text-wrap: balance;
}

.safety-notes-card ul {
  display: grid;
  align-content: start;
  gap: 2px 14px;
  margin: 0;
  padding: 10px 16px 14px;
  list-style: none;
}

.safety-notes-card--warning ul,
.safety-notes-card--boat ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.safety-notes-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 0;
  min-height: 24px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
}

.safety-notes-card li span {
  width: 20px;
  height: 20px;
  background: var(--note-tint);
  color: var(--note-accent);
  font-size: 14px;
}

.safety-notes-support {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--blue) 9%, white);
  color: var(--navy);
  font-size: 15px;
  line-height: 1.3;
}

.safety-notes-support img {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

@media (width <= 820px) {
  .safety-notes-grid {
    grid-template-columns: 1fr;
  }
}

@media (width <= 520px) {
  .safety-notes-card {
    border-radius: 18px;
  }

  .safety-notes-card-header {
    min-height: 0;
    padding-block: 14px;
  }

  .safety-notes-card--warning ul,
  .safety-notes-card--boat ul {
    grid-template-columns: 1fr;
  }
}

@media (980px < width <= 1180px) {
  .nav-inner button {
    padding-inline: 7px;
  }
}
