/* BoatCost visual refresh — harbor paper. Loaded after Tailwind. */
html {
  color-scheme: light;
  background: #e7eee8;
}

body {
  color-scheme: light;
  color: #14262e;
  background-color: #e7eee8;
  background-image:
    radial-gradient(920px 340px at 88% -60px, rgba(43, 181, 168, 0.28), transparent 56%),
    radial-gradient(640px 260px at 0% 70px, rgba(12, 61, 74, 0.45), transparent 52%),
    linear-gradient(180deg, #082532 0, #0a3542 17.5rem, #e7eee8 22.5rem);
  background-repeat: no-repeat;
}

header.no-print,
header.bg-slate-900 {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 37, 50, 0.94) !important;
  border-bottom: 1px solid rgba(142, 224, 214, 0.28) !important;
  backdrop-filter: blur(16px);
}

header a strong {
  letter-spacing: -0.03em;
}

header nav a {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

header nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #8ee0d6 !important;
}

main > h1 {
  max-width: 16ch;
  color: #f4f8f5 !important;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

main > p.text-sm.font-semibold {
  color: #8ee0d6 !important;
}

main > p.text-lg {
  color: rgba(244, 248, 245, 0.82) !important;
}

main > p.text-slate-600:not(.text-lg) {
  color: #4d646c !important;
}

form.rounded-2xl,
form.space-y-6.rounded-2xl {
  background: #f7fbf9 !important;
  border-color: #d5e4dc !important;
  box-shadow: 0 18px 40px rgba(8, 37, 50, 0.08);
}

form input,
form select {
  background: #fff !important;
  border-color: #c9dbd2 !important;
  color: #14262e !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

form input:focus,
form select:focus {
  border-color: #2bb5a8 !important;
  box-shadow: 0 0 0 3px rgba(43, 181, 168, 0.22);
}

.rounded-2xl:has(> p.text-5xl) {
  background: linear-gradient(165deg, #0e4a52 0%, #082532 78%) !important;
  border-color: transparent !important;
  box-shadow: 0 22px 50px rgba(8, 37, 50, 0.28);
}

.rounded-2xl:has(> p.text-5xl) .text-teal-800 {
  color: #8ee0d6 !important;
}

.rounded-2xl:has(> p.text-5xl) .text-slate-900,
.rounded-2xl:has(> p.text-5xl) .text-5xl {
  color: #f7fbf8 !important;
}

.rounded-2xl:has(> p.text-5xl) .text-slate-700,
.rounded-2xl:has(> p.text-5xl) .text-slate-600 {
  color: rgba(244, 248, 245, 0.78) !important;
}

.rounded-2xl.p-4:not(form):not(.bg-teal-50) {
  background: #f7fbf9 !important;
  border-color: #d5e4dc !important;
}

.rounded-2xl.bg-teal-50 {
  background: #e7f6f3 !important;
  border-color: #9ed9d1 !important;
}

.overflow-hidden.rounded-2xl {
  background: #fbfefc !important;
  border-color: #d5e4dc !important;
  box-shadow: 0 12px 28px rgba(8, 37, 50, 0.06);
}

button.bg-slate-900 {
  background: #0c3d4a !important;
  border-radius: 999px !important;
  padding-inline: 1rem !important;
}

button.bg-slate-900:hover {
  background: #0e4a52 !important;
}

a.text-teal-800 {
  color: #0e5c56 !important;
}

section.mt-12 .rounded-xl,
dl .rounded-xl {
  background: #fbfefc !important;
  border-color: #d5e4dc !important;
}

article.prose-boat,
article.mt-8 {
  background: #fbfefc;
  border: 1px solid #d5e4dc;
  border-radius: 1.15rem;
  padding: 1.5rem 1.35rem 1.75rem;
  box-shadow: 0 18px 40px rgba(8, 37, 50, 0.07);
  color: #2a3d44;
}

footer.mt-16,
footer.bg-white {
  background: #082532 !important;
  border-top: 1px solid rgba(142, 224, 214, 0.22) !important;
  color: rgba(244, 248, 245, 0.72) !important;
}

footer.mt-16 > div,
footer.bg-white > div {
  padding-top: 2.25rem;
  padding-bottom: 2.25rem;
}

footer a {
  color: #d7f3ee !important;
}

footer a:hover {
  color: #8ee0d6 !important;
}

.rounded-full.border {
  background: #f7fbf9 !important;
  border-color: #c9dbd2 !important;
}

.rounded-full.border:hover {
  border-color: #2bb5a8 !important;
  color: #0e5c56;
}

@media (max-width: 640px) {
  body {
    background-image:
      radial-gradient(720px 280px at 100% -80px, rgba(43, 181, 168, 0.26), transparent 58%),
      linear-gradient(180deg, #082532 0, #0a3542 20rem, #e7eee8 25rem);
  }

  main > h1 {
    max-width: none;
  }
}

@media print {
  html,
  body,
  header.no-print,
  header.bg-slate-900,
  footer.mt-16,
  footer.bg-white,
  .rounded-2xl:has(> p.text-5xl) {
    background: #fff !important;
    color: #111 !important;
  }

  main > h1,
  main > p.text-lg,
  main > p.text-sm.font-semibold {
    color: #111 !important;
  }
}
