:root {
  --ink: #17211f;
  --muted: #52635d;
  --paper: #fffdf8;
  --cream: #f6f0e5;
  --reef: #0f7c88;
  --reef-dark: #075662;
  --leaf: #2e6f4e;
  --coral: #c95d3f;
  --gold: #e0a83c;
  --line: #ded8cc;
  --shadow: 0 18px 48px rgba(23, 33, 31, 0.12);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.62;
}

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

a {
  color: var(--reef-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--coral);
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.topbar {
  background: #17211f;
  color: #f9f3e7;
  font-size: 0.86rem;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 38px;
}

.topbar p {
  margin: 0;
}

.topbar-links {
  display: flex;
  gap: 18px;
  white-space: nowrap;
}

.topbar a {
  color: #f9f3e7;
  text-decoration: none;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 253, 248, 0.96);
  border-bottom: 1px solid rgba(222, 216, 204, 0.86);
  backdrop-filter: blur(14px);
}

.navbar-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.03rem;
  text-decoration: none;
  letter-spacing: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 2px solid var(--reef);
  color: var(--reef-dark);
  font-weight: 900;
  border-radius: 8px;
  background: #eef8f7;
}

.nav-toggle {
  display: none;
}

.nav-toggle-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.45rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a,
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
}

.nav-links a:hover,
.nav-dropdown:hover .nav-dropdown-trigger {
  color: var(--reef-dark);
}

.nav-cta {
  margin-left: 6px;
  background: var(--reef);
  color: #fff !important;
  border-radius: 8px;
}

.nav-dropdown {
  position: relative;
}

.dropdown-arrow {
  margin-left: 5px;
  font-size: 0.72rem;
}

.nav-panel {
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 240px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-dropdown:hover .nav-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-panel a {
  display: flex;
  min-height: 36px;
  padding: 7px 8px;
  border-radius: 6px;
}

.hero {
  min-height: clamp(540px, calc(100vh - 180px), 640px);
  display: grid;
  align-items: center;
  position: relative;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(8, 24, 27, 0.82) 0%, rgba(8, 24, 27, 0.52) 45%, rgba(8, 24, 27, 0.14) 100%),
    url("images/hero-lanai.jpg") center / cover no-repeat;
}

.hero-content {
  width: min(780px, 100%);
  padding: 4.5vh 0;
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 900;
  color: #f8d57a;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 840px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.45rem, 5.4vw, 4.65rem);
  line-height: 0.97;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(2.25rem, 4.1vw, 3.85rem);
}

.hero-lead,
.page-lead {
  max-width: 690px;
  margin: 22px 0 0;
  font-size: clamp(1.08rem, 2vw, 1.33rem);
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 850;
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: var(--coral);
  color: #fff;
}

.btn-primary:hover {
  background: #ad4930;
  color: #fff;
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.72);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  color: #fff;
  background: var(--reef-dark);
}

.trust-bar {
  border-bottom: 1px solid var(--line);
  background: #fffdf8;
}

.trust-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}

.trust-item {
  min-height: 116px;
  padding: 24px 22px;
  border-left: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: 1px solid var(--line);
}

.trust-item strong {
  display: block;
  margin-bottom: 5px;
  font-size: 1.02rem;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.94rem;
}

.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--cream);
}

.section-tight {
  padding: 48px 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-subhead {
  max-width: 760px;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 1.08rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.guide-card,
.plain-card,
.source-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  overflow: hidden;
}

.guide-card {
  color: inherit;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.guide-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  color: inherit;
}

.guide-card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.guide-card-body,
.plain-card,
.source-card {
  padding: 22px;
}

.guide-card h3,
.plain-card h3,
.source-card h3 {
  margin: 0 0 8px;
  font-size: 1.18rem;
  line-height: 1.2;
}

.guide-card p,
.plain-card p,
.source-card p {
  margin: 0;
  color: var(--muted);
}

.guide-link {
  display: inline-block;
  margin-top: 16px;
  font-weight: 850;
  color: var(--reef-dark);
}

.two-col {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 42px;
  align-items: start;
}

.text-stack > *:first-child {
  margin-top: 0;
}

.text-stack p {
  margin: 0 0 18px;
}

.checklist {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}

.check-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dff0e8;
  color: var(--leaf);
  font-weight: 950;
}

.mini-label {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat {
  padding: 24px;
  border-top: 4px solid var(--coral);
  background: #fffdf8;
  border-radius: 8px;
  box-shadow: 0 1px 0 var(--line);
}

.stat strong {
  display: block;
  margin-bottom: 10px;
  color: var(--reef-dark);
  font-size: 1.8rem;
  line-height: 1;
}

.stat p {
  margin: 0;
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th,
td {
  padding: 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

th {
  background: #ebf6f4;
  color: var(--reef-dark);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

tr:last-child td {
  border-bottom: 0;
}

.note {
  border-left: 4px solid var(--gold);
  padding: 18px 20px;
  background: #fff8e8;
  border-radius: 0 8px 8px 0;
}

.note p {
  margin: 0;
}

.download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 34px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}

.download-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.05rem;
}

.download-card p {
  margin: 0;
  color: var(--muted);
}

.page-hero {
  position: relative;
  padding: 92px 0 76px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(8, 24, 27, 0.82), rgba(8, 24, 27, 0.38)),
    url("images/maui-areas-road.jpg") center / cover no-repeat;
}

.page-hero.compliance {
  background:
    linear-gradient(90deg, rgba(8, 24, 27, 0.84), rgba(8, 24, 27, 0.32)),
    url("images/compliance-checklist.jpg") center / cover no-repeat;
}

.page-hero.activities {
  background:
    linear-gradient(90deg, rgba(8, 24, 27, 0.84), rgba(8, 24, 27, 0.28)),
    url("images/maui-activities-sunrise.jpg") center / cover no-repeat;
}

.page-hero.checklist-page {
  background:
    linear-gradient(90deg, rgba(8, 24, 27, 0.84), rgba(8, 24, 27, 0.32)),
    url("images/hero-lanai.jpg") center / cover no-repeat;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.article {
  max-width: 820px;
}

.article h2 {
  margin: 42px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1.1;
}

.article h3 {
  margin: 28px 0 8px;
  font-size: 1.22rem;
}

.article p,
.article li {
  color: #33413d;
}

.article a {
  font-weight: 700;
}

.article ul,
.article ol {
  padding-left: 1.4rem;
}

.article li + li {
  margin-top: 9px;
}

.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 46px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 96px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}

.toc strong {
  display: block;
  margin-bottom: 8px;
}

.toc a {
  display: block;
  padding: 6px 0;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.94rem;
}

.faq {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  padding: 16px 18px;
}

.faq summary {
  cursor: pointer;
  font-weight: 850;
}

.faq p {
  margin-bottom: 0;
  color: var(--muted);
}

.cta-banner {
  background: var(--reef-dark);
  color: #fff;
  padding: 42px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-inner h2 {
  margin: 0 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.cta-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.footer {
  background: #17211f;
  color: #f7f0e6;
  padding: 52px 0 28px;
}

.footer-disclaimer {
  margin-bottom: 32px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.82);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 32px;
}

.footer h3,
.footer h4 {
  margin: 0 0 12px;
  color: #fff;
}

.footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer a {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  margin: 7px 0;
}

.footer a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.source-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 920px) {
  .topbar .container,
  .cta-inner,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-toggle-btn {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 74px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    background: #fffdf8;
    border-bottom: 1px solid var(--line);
  }

  .nav-toggle:checked ~ .nav-links {
    display: flex;
  }

  .nav-links a,
  .nav-dropdown-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 8px 4px;
  }

  .nav-panel {
    position: static;
    min-width: 0;
    display: block;
    box-shadow: none;
    border: 0;
    padding: 0 0 8px 12px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    background: transparent;
  }

  .nav-cta {
    margin-left: 0;
    justify-content: center !important;
    padding: 0 14px !important;
  }

  .trust-items,
  .card-grid,
  .stat-grid,
  .footer-grid,
  .source-list {
    grid-template-columns: 1fr 1fr;
  }

  .two-col,
  .article-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .toc {
    position: static;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(var(--max), calc(100% - 28px));
  }

  .topbar-links {
    flex-wrap: wrap;
    gap: 10px;
  }

  .hero {
    min-height: clamp(580px, calc(100vh - 190px), 690px);
  }

  .hero-content {
    padding: 7vh 0;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.35rem, 13vw, 4.3rem);
  }

  .trust-items,
  .card-grid,
  .stat-grid,
  .footer-grid,
  .source-list {
    grid-template-columns: 1fr;
  }

  .trust-item,
  .trust-item:last-child {
    border-right: 1px solid var(--line);
  }

  .section {
    padding: 54px 0;
  }

  .page-hero {
    padding: 72px 0 58px;
  }

  .hero-actions,
  .actions {
    flex-direction: column;
  }

  .download-card {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
