:root {
  --ink: #173238;
  --muted: #577076;
  --line: #d9e6e2;
  --paper: #fbfffd;
  --foam: #eef8f5;
  --sand: #f7efd9;
  --sun: #f4bd4f;
  --coral: #d96a4c;
  --teal: #0f766e;
  --deep: #123f4a;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(23, 50, 56, 0.16);
  --soft-shadow: 0 10px 28px rgba(23, 50, 56, 0.1);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

button,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 20;
  transform: translateY(-160%);
  background: var(--deep);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 32px;
  border-bottom: 1px solid rgba(217, 230, 226, 0.9);
  background: rgba(251, 255, 253, 0.94);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: var(--radius);
  background: var(--deep);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
}

.brand-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.brand-copy strong {
  font-size: 1rem;
  line-height: 1.1;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  padding: 9px 12px;
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.93rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--foam);
  color: var(--deep);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: 660px;
  overflow: hidden;
  padding: 72px 32px 56px;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 45, 50, 0.82) 0%, rgba(10, 45, 50, 0.52) 44%, rgba(10, 45, 50, 0.1) 100%),
    linear-gradient(0deg, rgba(11, 60, 65, 0.18), rgba(11, 60, 65, 0.18));
}

.hero-content {
  position: relative;
  width: 100%;
  max-width: 760px;
  min-width: 0;
  justify-self: start;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffd08a;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: 4rem;
}

h2 {
  margin-bottom: 14px;
  font-size: 2rem;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

p {
  margin-top: 0;
}

.hero-subheadline {
  max-width: 700px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.93);
  font-size: 1.18rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.trust-row span {
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.16);
  padding: 8px 10px;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
}

.section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 70px 0;
}

.soft-section {
  width: 100%;
  max-width: none;
  padding-right: max(24px, calc((100% - 1180px) / 2));
  padding-left: max(24px, calc((100% - 1180px) / 2));
  background: linear-gradient(180deg, var(--foam), #f9f6ec);
}

.intro-band {
  padding-top: 64px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.05rem;
}

.row-heading {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.feature-grid,
.steps-grid,
.state-grid,
.item-grid,
.beach-grid,
.rule-grid {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.state-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.item-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.beach-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rule-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.steps-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 22px;
}

.feature-card,
.step-card,
.state-card,
.item-card,
.beach-card,
.rule-card,
.mini-result-card,
.row-card,
.process-card,
.contact-panel,
.result-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.feature-card,
.step-card,
.process-card,
.contact-panel {
  padding: 24px;
}

.feature-card p,
.step-card p,
.process-card p,
.beach-card p,
.rule-card p,
.contact-panel p,
.legal-copy p {
  color: var(--muted);
}

.state-card,
.item-card,
.rule-card,
.mini-result-card,
.row-card {
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.state-card:hover,
.item-card:hover,
.rule-card:hover,
.mini-result-card:hover,
.row-card:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 118, 110, 0.38);
  box-shadow: var(--shadow);
}

.state-card {
  display: grid;
  min-height: 156px;
  align-content: space-between;
  padding: 18px;
}

.state-card span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--sand);
  color: var(--deep);
  font-weight: 900;
}

.state-card strong,
.item-card strong {
  font-size: 1.1rem;
}

.state-card small,
.item-card span,
.row-card small,
.mini-result-card small {
  color: var(--muted);
}

.item-card {
  display: grid;
  min-height: 134px;
  gap: 10px;
  align-content: start;
  padding: 18px;
}

.beach-card {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.beach-card h3 a {
  text-decoration: underline;
  text-decoration-color: rgba(15, 118, 110, 0.3);
  text-underline-offset: 4px;
}

.mini-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rule-card {
  display: grid;
  min-height: 172px;
  gap: 18px;
  align-content: space-between;
  padding: 20px;
}

.result-list,
.row-list,
.process-list {
  display: grid;
  gap: 12px;
}

.mini-result-card,
.row-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
}

.mini-result-card span,
.row-card span {
  display: grid;
  gap: 2px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 11px 16px;
  font-weight: 850;
  text-align: center;
  cursor: pointer;
}

.primary-button {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(217, 106, 76, 0.25);
}

.primary-button:hover {
  background: #c95a3e;
}

.secondary-button {
  border-color: var(--line);
  background: var(--white);
  color: var(--deep);
}

.secondary-button:hover {
  border-color: rgba(15, 118, 110, 0.4);
}

.text-link {
  color: var(--teal);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.search-panel {
  width: 100%;
  max-width: 980px;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  color: var(--ink);
  padding: 16px;
}

.search-section .search-panel {
  border-color: var(--line);
}

.search-panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  color: var(--deep);
  font-weight: 900;
}

.search-panel-heading small {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
}

.rule-search-form {
  display: grid;
  grid-template-columns: minmax(150px, 0.85fr) minmax(220px, 1.2fr) minmax(190px, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.rule-search-form label {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.rule-search-form label span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 850;
}

.rule-search-form select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  padding: 0 12px;
}

.rule-search-form select:focus {
  outline: 3px solid rgba(15, 118, 110, 0.18);
  border-color: var(--teal);
}

.search-button {
  min-width: 134px;
}

.search-message {
  min-height: 18px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.page-hero {
  background:
    linear-gradient(110deg, rgba(18, 63, 74, 0.94), rgba(15, 118, 110, 0.78)),
    var(--deep);
  color: var(--white);
  padding: 72px max(24px, calc((100% - 1180px) / 2));
}

.page-hero > div {
  width: 100%;
  max-width: 780px;
  min-width: 0;
}

.page-hero .eyebrow {
  color: #ffd08a;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
}

.source-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.source-note,
.small-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.page-hero .source-note {
  color: rgba(255, 255, 255, 0.8);
}

.status-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 0.82rem;
  font-weight: 900;
  white-space: nowrap;
}

.status-badge.allowed {
  background: #e8f7ef;
  color: #146b3a;
}

.status-badge.not-allowed {
  background: #feecea;
  color: #a43a2f;
}

.status-badge.seasonal {
  background: #fff3cf;
  color: #84610d;
}

.status-badge.restricted {
  background: #fbece3;
  color: #9a4a2a;
}

.status-badge.unknown {
  background: #edf1f2;
  color: #4f6268;
}

.result-section {
  padding-top: 44px;
}

.result-card {
  padding: 28px;
}

.result-topline {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: start;
  margin-bottom: 22px;
}

.result-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 20px;
}

.result-facts div,
.details-box,
.confirm-box,
.source-panel {
  border-radius: var(--radius);
  background: var(--foam);
  padding: 16px;
}

.result-facts dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.result-facts dd {
  margin: 4px 0 0;
  font-weight: 850;
}

.details-box {
  margin-bottom: 14px;
}

.details-box h3 {
  margin-bottom: 8px;
}

.details-box p,
.confirm-box p {
  margin-bottom: 0;
  color: var(--muted);
}

.supporting-note {
  margin-top: 10px;
  font-size: 0.95rem;
}

.confirm-box {
  border-left: 4px solid var(--sun);
  background: #fff9e8;
}

.source-panel {
  display: grid;
  gap: 14px;
  margin-top: 14px;
  margin-bottom: 18px;
  background: #f7fbfa;
}

.source-panel h3 {
  margin-bottom: 0;
}

.source-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.source-meta div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 12px;
}

.source-meta dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
}

.source-meta dd {
  margin: 4px 0 0;
  font-weight: 850;
}

.source-change-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.narrow-section {
  width: min(780px, calc(100% - 48px));
}

.legal-copy {
  width: min(860px, calc(100% - 48px));
}

.legal-copy h2 {
  margin-top: 28px;
  font-size: 1.35rem;
}

.site-footer {
  padding: 42px 32px;
  border-top: 1px solid var(--line);
  background: #102f35;
  color: var(--white);
}

.footer-grid {
  display: grid;
  width: min(1180px, 100%);
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
}

.footer-brand .brand-mark {
  background: var(--white);
  color: var(--deep);
}

.footer-brand .brand-copy span,
.footer-disclaimer {
  color: rgba(255, 255, 255, 0.74);
}

.footer-disclaimer {
  max-width: 760px;
  margin: 18px 0 0;
}

.footer-links {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 750;
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 980px) {
  h1 {
    font-size: 3rem;
  }

  .feature-grid,
  .item-grid,
  .rule-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .state-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rule-search-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-button {
    grid-column: span 2;
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding: 12px 18px;
  }

  .brand {
    align-self: flex-start;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-copy span {
    display: none;
  }

  .site-nav {
    width: 100%;
    gap: 2px;
    justify-content: flex-start;
  }

  .site-nav a {
    padding: 8px 7px;
    font-size: 0.82rem;
  }

  .hero {
    min-height: auto;
    padding: 34px 18px 32px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(10, 45, 50, 0.88) 0%, rgba(10, 45, 50, 0.66) 100%),
      linear-gradient(0deg, rgba(11, 60, 65, 0.18), rgba(11, 60, 65, 0.18));
  }

  h1 {
    font-size: 2.12rem;
  }

  h2 {
    font-size: 1.72rem;
  }

  .hero-subheadline,
  .page-hero p {
    font-size: 1rem;
  }

  .section,
  .narrow-section,
  .legal-copy {
    width: calc(100vw - 32px);
    padding: 48px 0;
  }

  .soft-section,
  .page-hero {
    padding-right: 16px;
    padding-left: 16px;
  }

  .page-hero {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .row-heading,
  .result-topline,
  .mini-result-card,
  .row-card,
  .source-actions,
  .search-panel-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .feature-grid,
  .item-grid,
  .beach-grid,
  .rule-grid,
  .state-grid,
  .steps-grid,
  .result-facts,
  .source-meta,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .rule-search-form {
    grid-template-columns: 1fr;
  }

  .search-button {
    grid-column: auto;
    width: 100%;
  }

  .search-panel {
    width: 340px;
    max-width: 340px;
    padding: 14px;
  }

  .hero-content,
  .page-hero > div {
    width: 340px;
    max-width: 340px;
  }

  .hero-subheadline {
    width: 340px;
    max-width: 100%;
  }

  .result-card h2 {
    font-size: 1.42rem;
    line-height: 1.16;
  }

  .trust-row span {
    font-size: 0.82rem;
  }

  .hero .trust-row {
    display: none;
  }

  .state-card,
  .item-card,
  .rule-card {
    min-height: auto;
  }

  .result-card,
  .feature-card,
  .step-card,
  .process-card,
  .contact-panel,
  .beach-card {
    padding: 18px;
  }

  .site-footer {
    padding: 34px 18px;
  }
}

@media (max-width: 430px) {
  .site-header {
    gap: 8px;
  }

  .brand-copy strong {
    font-size: 0.92rem;
  }

  .site-nav a {
    font-size: 0.78rem;
  }

  h1 {
    font-size: 1.94rem;
  }

  .hero-content,
  .page-hero > div,
  .hero-subheadline,
  .search-panel {
    width: 320px;
    max-width: 320px;
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 360px) {
  .hero-content,
  .page-hero > div,
  .hero-subheadline,
  .search-panel {
    width: 284px;
    max-width: 284px;
  }
}
