@import url('https://fonts.googleapis.com/css2?family=Courier+Prime:wght@400;700&display=swap');

:root {
  --black: #2E2E2E;
  --charcoal: #444444;
  --slate: #6C7B83;
  --soft-grey: #D7D5D5;
  --white: #F3F3F4;
  --reef-green: #76e4d0;
  --reef-green-soft: rgba(118, 228, 208, 0.30);
  --overlay: rgba(26, 26, 26, 0.56);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;

  background: #101314;
  color: var(--white);
}

body {
  font-family: Arial, Helvetica, sans-serif;
}

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

.site-header {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;

  z-index: 20;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 2rem 4rem;
}

.brand img {
  width: 150px;
  height: auto;
  display: block;
}

.header-global-search {
  position: absolute;
  left: 39%;
  top: 2.05rem;
  transform: translateX(-50%);

  display: flex;
  align-items: center;
  gap: 0.9rem;

  width: min(280px, 28vw);
  min-height: 50px;

  padding: 0.48rem 0.75rem;

  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 10px;

  background: rgba(0,0,0,0.64);
  box-shadow: 0 18px 42px rgba(0,0,0,0.26);
  backdrop-filter: blur(10px);
}

.header-global-search:hover {
  transform: translateX(-50%) translateY(-2px);
}

.header-search-icon {
  width: 34px;
  height: 34px;

  border: 3px solid rgba(118,228,208,0.9);
  border-radius: 50%;

  background: rgba(118,228,208,0.10);

  position: relative;
  flex: 0 0 auto;
}

.header-search-icon::after {
  content: "";

  position: absolute;
  width: 22px;
  height: 3px;

  right: -15px;
  bottom: -7px;

  background: rgba(118,228,208,0.9);

  transform: rotate(45deg);
  transform-origin: left center;
}

.header-search-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;

  text-transform: uppercase;
}

.header-search-text span {
  color: rgba(255,255,255,0.68);

  font-family: "Courier Prime", monospace;

  font-size: 0.56rem;
  font-weight: 700;

  letter-spacing: 0.16em;
}

.header-search-text strong {
  color: var(--white);

  font-size: 0.82rem;
  font-weight: 900;

  letter-spacing: 0.02em;
}

.header-search-text em {
  color: rgba(255,255,255,0.72);

  font-size: 0.58rem;
  font-style: normal;
}

.site-nav {
  display: flex;
  gap: 2rem;
}

.site-nav a {
  color: rgba(255,255,255,0.82);

  font-size: 0.82rem;
  font-weight: 700;

  letter-spacing: 0.08em;

  transition: opacity 0.2s ease;
}

.site-nav a:hover {
  opacity: 0.68;
}

.hero {
  position: relative;

  min-height: 100vh;

  padding: 6.4rem 2rem 3rem 3.4rem;

  background:
    linear-gradient(var(--overlay), var(--overlay)),
    url("/media/backgrounds/ocean-hero.svg")
    center center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;

  z-index: 1;

  background:
    radial-gradient(circle at 72% 42%, rgba(118,228,208,0.18), transparent 34rem),
    radial-gradient(circle at 58% 52%, rgba(118,228,208,0.08), transparent 42rem),
    linear-gradient(
      90deg,
      rgba(18,18,18,0.94),
      rgba(18,18,18,0.16)
    );

  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;

  display: grid;

  grid-template-columns:
    minmax(330px, 0.40fr)
    minmax(820px, 1.60fr);

  align-items: start;

  gap: 0;
}

.hero-copy {
  max-width: 510px;

  padding-top: 2.4rem;

  position: relative;
  z-index: 5;
}

.hero-kicker {
  margin: 0 0 1rem;

  color: rgba(255,255,255,0.76);

  text-transform: uppercase;

  letter-spacing: 0.22em;

  font-size: 0.78rem;
  font-weight: 700;

  line-height: 1.6;
}

.hero-copy h1 {
  margin: 0;

  font-size: clamp(3.9rem, 5.8vw, 6.9rem);

  line-height: 0.92;

  letter-spacing: -0.08em;

  color: var(--white);
}

.hero-copy h1 span {
  display: block;

  color: var(--slate);
}

.hero-text {
  max-width: 470px;

  margin-top: 1.8rem;

  color: rgba(255,255,255,0.84);

  font-size: 1rem;

  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;

  margin-top: 2rem;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 52px;

  padding: 0 1.4rem;

  font-size: 0.84rem;
  font-weight: 900;

  letter-spacing: 0.06em;

  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
}

.primary-button {
  background: var(--white);
  color: #111;
}

.secondary-button {
  border: 1px solid rgba(255,255,255,0.18);

  background: rgba(255,255,255,0.06);

  backdrop-filter: blur(8px);
}

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;

  margin-top: 2.5rem;
}

.hero-stats article strong {
  display: block;

  font-size: 1.7rem;

  letter-spacing: -0.04em;
}

.hero-stats article span {
  color: rgba(255,255,255,0.7);

  font-size: 0.82rem;
}

.map-panel {
  position: relative;

  width: 100%;
}

.region-map {
  position: relative;

  width: 100%;
  min-height: 760px;

  margin-top: -4.8rem;
  margin-left: -3.4rem;

  overflow: visible;

  background:
    radial-gradient(circle at 50% 45%, rgba(118, 228, 208, 0.14), transparent 27rem),
    radial-gradient(circle at 74% 56%, rgba(118, 228, 208, 0.10), transparent 28rem),
    radial-gradient(circle at 34% 58%, rgba(255, 255, 255, 0.055), transparent 23rem);
}

.region-map::before {
  content: "";

  position: absolute;
  inset: 2rem 1rem 4.5rem 1rem;

  z-index: 0;

  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 160px 160px;

  mask-image: radial-gradient(circle at center, rgba(0,0,0,0.72), transparent 74%);

  opacity: 0.38;

  pointer-events: none;
}

.region-map-svg {
  position: absolute;

  inset: -8% -6% -5% -4%;

  z-index: 2;

  width: 112%;
  height: 112%;

  display: block;
  overflow: visible;
}

.region-gridlines path {
  fill: none;

  stroke: rgba(255,255,255,0.055);

  stroke-width: 1;
}

.map-region {
  cursor: pointer;
  outline: none;
}

.region-shape {
  transform-box: fill-box;
  transform-origin: center;

  transition:
    transform 0.25s ease,
    filter 0.25s ease,
    opacity 0.25s ease;
}

.region-geometry,
.region-shape path,
.region-shape polygon,
.region-shape polyline,
.region-shape circle,
.region-shape ellipse,
.region-shape rect {
  fill: rgba(255,255,255,0.11) !important;

  stroke: rgba(255,255,255,0.38) !important;

  stroke-width: 1.35 !important;

  vector-effect: non-scaling-stroke;

  opacity: 1;

  transition:
    fill 0.25s ease,
    stroke 0.25s ease,
    stroke-width 0.25s ease,
    opacity 0.25s ease;
}

.region-label {
  fill: rgba(255,255,255,0.96);

  font-family: "Courier Prime", monospace;

  font-size: 17px;
  font-weight: 700;

  letter-spacing: 0.02em;

  text-anchor: middle;

  paint-order: stroke;

  stroke: rgba(18,18,18,0.88);

  stroke-width: 4px;

  pointer-events: none;
}

.map-region:hover .region-shape,
.map-region:focus-visible .region-shape {
  transform: scale(1.018);

  filter: url(#regionGlow);
}

.map-region:hover .region-geometry,
.map-region:focus-visible .region-geometry,
.map-region:hover .region-shape path,
.map-region:focus-visible .region-shape path,
.map-region:hover .region-shape polygon,
.map-region:focus-visible .region-shape polygon,
.map-region:hover .region-shape polyline,
.map-region:focus-visible .region-shape polyline,
.map-region:hover .region-shape circle,
.map-region:focus-visible .region-shape circle,
.map-region:hover .region-shape ellipse,
.map-region:focus-visible .region-shape ellipse,
.map-region:hover .region-shape rect,
.map-region:focus-visible .region-shape rect {
  fill: var(--reef-green-soft) !important;

  stroke: rgba(118,228,208,0.98) !important;

  stroke-width: 2 !important;
}

.map-region.live .region-geometry,
.map-region.live .region-shape path,
.map-region.live .region-shape polygon,
.map-region.live .region-shape polyline,
.map-region.live .region-shape circle,
.map-region.live .region-shape ellipse,
.map-region.live .region-shape rect {
  fill: rgba(118,228,208,0.32) !important;

  stroke: rgba(118,228,208,0.98) !important;

  stroke-width: 2 !important;
}

.map-region.live:hover .region-geometry,
.map-region.live:focus-visible .region-geometry,
.map-region.live:hover .region-shape path,
.map-region.live:focus-visible .region-shape path,
.map-region.live:hover .region-shape polygon,
.map-region.live:focus-visible .region-shape polygon,
.map-region.live:hover .region-shape polyline,
.map-region.live:focus-visible .region-shape polyline,
.map-region.live:hover .region-shape circle,
.map-region.live:focus-visible .region-shape circle,
.map-region.live:hover .region-shape ellipse,
.map-region.live:focus-visible .region-shape ellipse,
.map-region.live:hover .region-shape rect,
.map-region.live:focus-visible .region-shape rect {
  fill: rgba(118,228,208,0.48) !important;

  stroke: rgba(118,228,208,1) !important;
}

.map-global-search {
  display: none;
}

.map-global-search g {
  transition:
    transform 0.25s ease,
    filter 0.25s ease;
}

.map-global-search:hover g,
.map-global-search:focus-visible g {
  transform: scale(1.03);

  filter: url(#regionGlow);
}

.global-card {
  fill: rgba(0,0,0,0.70);

  stroke: rgba(255,255,255,0.16);

  stroke-width: 1.2;
}

.map-global-search circle {
  fill: rgba(26,26,26,0.7);

  stroke: rgba(255,255,255,0.22);

  stroke-width: 1.2;
}

.global-search-icon {
  fill: rgba(118,228,208,0.12);

  stroke: rgba(118,228,208,0.9);

  stroke-width: 3;

  stroke-linecap: round;
  stroke-linejoin: round;
}

.map-global-search text {
  fill: rgba(255,255,255,0.64);

  font-family: "Courier Prime", monospace;

  font-size: 13px;

  letter-spacing: 0.16em;

  text-transform: uppercase;
}

.map-global-search .global-title {
  fill: var(--white);

  font-family: Arial, Helvetica, sans-serif;

  font-size: 24px;
  font-weight: 900;

  letter-spacing: -0.02em;
}

.map-global-search .global-subtitle {
  fill: rgba(255,255,255,0.72);

  font-family: Arial, Helvetica, sans-serif;

  font-size: 14px;

  letter-spacing: 0;
}

.value-strip {
  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  background: #f5f5f5;

  color: #111;
}

.value-strip article {
  padding: 2.6rem;

  border-right: 1px solid rgba(0,0,0,0.06);
}

.value-strip article:last-child {
  border-right: none;
}

.value-strip img {
  width: 38px;
  height: 38px;

  margin-bottom: 1.4rem;
}

.value-strip span {
  color: var(--slate);

  font-family: "Courier Prime", monospace;

  font-size: 0.8rem;
}

.value-strip h2 {
  margin: 1rem 0;

  font-size: 1.4rem;

  letter-spacing: -0.04em;
}

.value-strip p {
  color: #444;

  line-height: 1.7;
}

.manufacturer-section {
  padding: 5rem 4rem 6rem;

  background: #f7f7f7;

  color: #111;
}

.section-kicker {
  margin: 0 0 2rem;

  color: var(--slate);

  text-transform: uppercase;

  letter-spacing: 0.2em;

  font-family: "Courier Prime", monospace;

  font-size: 0.84rem;
}

.manufacturer-grid {
  display: grid;

  grid-template-columns: repeat(5, minmax(0, 1fr));

  gap: 1rem;
}

.manufacturer-grid img {
  width: 100%;
  height: 78px;

  object-fit: contain;

  background: white;

  border: 1px solid rgba(0,0,0,0.05);

  padding: 1rem;

  filter: grayscale(1);
}

.site-footer {
  background: #111;

  text-align: center;

  padding: 3rem 2rem;

  color: rgba(255,255,255,0.7);
}

.site-footer img {
  width: 150px;
}

.site-footer p {
  margin-top: 1rem;

  font-family: "Courier Prime", monospace;
}



.board-guide-feature {
  position: absolute;
  left: 5.1rem;
  right: 2.9rem;
  bottom: -1.5rem;

  z-index: 6;
}

.board-guide-heading {
  margin: 0 0 0.65rem 0;
}

.board-guide-heading p {
  margin: 0 0 0.2rem;

  color: var(--reef-green);

  font-family: "Courier Prime", monospace;
  font-size: 0.72rem;
  font-weight: 700;

  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.board-guide-heading h2 {
  max-width: 720px;

  margin: 0;

  color: rgba(255,255,255,0.88);

  font-size: clamp(1.15rem, 1.65vw, 1.55rem);
  font-weight: 900;
  line-height: 1.08;

  letter-spacing: -0.045em;
}

.board-guide-panel {
  position: relative;

  z-index: 6;

  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(460px, 1.25fr);
  gap: 1.25rem;
  align-items: center;

  min-height: 132px;

  padding: 0.9rem 1rem;

  border: 1px solid rgba(118,228,208,0.44);
  border-radius: 12px;

  background:
    radial-gradient(circle at 8% 50%, rgba(118,228,208,0.18), transparent 12rem),
    rgba(9,13,13,0.74);

  box-shadow:
    0 0 22px rgba(118,228,208,0.13),
    0 24px 52px rgba(0,0,0,0.32);

  backdrop-filter: blur(12px);
}


.board-guide-panel:hover {
  border-color: rgba(118,228,208,0.65);

  box-shadow:
    0 0 28px rgba(118,228,208,0.18),
    0 24px 52px rgba(0,0,0,0.32);
}


.board-guide-intro {
  padding-right: 1.25rem;

  border-right: 1px solid rgba(118,228,208,0.44);
}

.board-guide-kicker {
  margin: 0 0 0.45rem;

  color: var(--white);

  font-size: clamp(1.25rem, 1.85vw, 1.75rem);
  font-weight: 900;

  letter-spacing: -0.055em;
  line-height: 1.05;
}

.board-guide-intro h2 {
  margin: 0 0 0.55rem;

  color: var(--reef-green);

  font-family: "Courier Prime", monospace;
  font-size: 0.72rem;
  font-weight: 700;

  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.board-guide-intro p {
  max-width: 420px;

  margin: 0;

  color: rgba(255,255,255,0.78);

  font-size: 0.82rem;
  line-height: 1.55;
}

.board-guide-chat {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;

  min-width: 0;
}

.board-guide-chat label {
  color: var(--reef-green);

  font-family: "Courier Prime", monospace;
  font-size: 0.72rem;
  font-weight: 700;

  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.board-guide-input-row {
  display: flex;
  gap: 0.65rem;
  align-items: stretch;
}

.board-guide-chat textarea {
  flex: 1 1 auto;
  width: 100%;
  resize: none;

  min-height: 58px;

  padding: 0.72rem 0.82rem;

  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 7px;

  background: rgba(0,0,0,0.30);
  color: var(--white);

  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
  line-height: 1.4;

  outline: none;
}

.board-guide-chat textarea:focus {
  border-color: rgba(118,228,208,0.76);
  box-shadow: 0 0 0 3px rgba(118,228,208,0.11);
}

.board-guide-input-row button {
  flex: 0 0 160px;

  min-height: 58px;

  border: none;

  background: var(--reef-green);
  color: #101314;

  font-size: 0.78rem;
  font-weight: 900;

  letter-spacing: 0.1em;
  text-transform: uppercase;

  cursor: pointer;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.board-guide-input-row button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(118,228,208,0.22);
}

.board-guide-chat span {
  color: rgba(118,228,208,0.78);

  font-family: "Courier Prime", monospace;
  font-size: 0.66rem;
  font-weight: 700;

  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.board-guide-response {
  display: none;

  max-height: 82px;
  overflow-y: auto;

  padding: 0.65rem 0.75rem;

  border-left: 2px solid rgba(118,228,208,0.5);

  color: rgba(255,255,255,0.82);

  font-size: 0.8rem;
  line-height: 1.5;

  white-space: pre-wrap;
}

.board-guide-response:not(:empty) {
  display: block;
}


@media (max-width: 1200px) {

  .hero {
    padding: 9.5rem 2rem 4rem;
  }

  .header-global-search {
    top: 6.2rem;
    width: min(380px, 82vw);
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
    padding-top: 0;
  }

  .region-map {
    min-height: 640px;
    margin-top: -2rem;
    margin-left: -2rem;
  }

  .region-map-svg {
    inset: -3% -4% -4% -8%;
    width: 112%;
    height: 108%;
  }

  .board-guide-feature {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;

    margin: -2rem 1rem 3rem;
  }

  .board-guide-panel {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 768px) {

  .site-header {
    padding: 2rem;

    flex-direction: column;

    gap: 1.5rem;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding: 9rem 1.5rem 4rem;
  }

  .hero-copy h1 {
    font-size: clamp(3.3rem, 16vw, 4.8rem);
  }

  .header-global-search {
    position: relative;
    left: auto;
    top: auto;
    transform: none;

    width: 100%;
    max-width: 360px;
  }

  .header-global-search:hover {
    transform: translateY(-2px);
  }

  .region-map {
    min-height: 520px;
    margin: 1.5rem 0 0;
  }

  .region-map-svg {
    inset: -2% -28% -2% -30%;
    width: 160%;
    height: 104%;
  }

  .region-label {
    font-size: 20px;
  }

  .board-guide-feature {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;

    margin: -2rem 1rem 3rem;
  }

  .board-guide-panel {
    grid-template-columns: 1fr;
  }

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

  .value-strip {
    grid-template-columns: 1fr;
  }

  .value-strip article {
    border-right: none;

    border-bottom: 1px solid rgba(0,0,0,0.06);
  }

  .value-strip article:last-child {
    border-bottom: none;
  }
}