:root {
  --teal: #005758;
  --teal-mid: #005758;
  --teal-deep: #003031;
  --footer: #003032;
  --ink: #394242;
  --muted: #4d5757;
  --cyan: #00a7c8;
  --gray: #f5f5f5;
  --line: #cfcfcf;
  --white: #fff;
  --sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --header: 74px;
  --wrap: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
button, input, textarea, select { font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }

.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 28px 0 22px;
  gap: 18px;
}
.logo img { height: 34px; width: auto; }
.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 28px;
  height: 100%;
}
.nav-item { height: 100%; display: flex; align-items: center; position: static; }
.nav-link {
  font-family: var(--sans);
  font-size: 15.5px;
  color: #3c4444;
  background: none;
  border: 0;
  padding: 8px 0;
  letter-spacing: 0.1px;
}
.nav-link:hover,
.nav-item:hover > .nav-link,
.nav-item.open > .nav-link { color: var(--teal); }
.tools { display: flex; align-items: center; gap: 14px; }
.icon-btn {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  padding: 4px;
  display: grid;
  place-items: center;
}
.icon-btn img { width: 22px; height: 22px; }
.burger {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  margin-left: auto;
}
.burger span {
  display: block;
  height: 2px;
  background: #333;
  margin: 6px 8px;
}

.mega {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: var(--header);
  background: #fff;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
  padding: 28px 48px 36px;
  z-index: 45;
  max-height: min(70vh, 640px);
  overflow: auto;
}
.nav-item:hover .mega,
.nav-item.open .mega { display: block; }
.mega-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  columns: 3;
  column-gap: 42px;
}
.mega-grid.cols-4 { columns: 4; }
.mega-grid.cols-2 { columns: 2; max-width: 720px; margin: 0; }
.mega a, .drawer a {
  font-family: var(--sans);
  font-size: 14.5px;
  color: #3a4242;
  display: block;
  padding: 6px 0;
  break-inside: avoid;
}
.mega a:hover, .drawer a:hover { color: var(--teal); }
.mega .group-label {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 4px 0 6px;
  break-after: avoid;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header));
  background:
    linear-gradient(90deg, rgba(8, 20, 28, 0.28), rgba(8, 20, 28, 0.08) 45%, rgba(8, 20, 28, 0.2)),
    url("../assets/hero.jpg") center 30% / cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.hero-copy {
  position: absolute;
  left: 31%;
  top: 21%;
  width: min(660px, 48vw);
  mix-blend-mode: screen;
  pointer-events: none;
}
.scroll-cue {
  position: absolute;
  left: 26px;
  bottom: 18%;
  background: none;
  border: 0;
  padding: 8px;
}
.scroll-cue img { width: 18px; height: auto; }
.hero-cards {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
}
.hero-card {
  width: 340px;
  min-height: 198px;
  padding: 28px 26px 22px;
  color: #fff;
}
.hero-card.partner { background: var(--teal-mid); }
.hero-card.tour { background: var(--teal-deep); }
.hero-card img { width: 46px; height: 42px; object-fit: contain; margin-bottom: 16px; }
.hero-card h2 {
  margin: 0 0 10px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.2px;
}
.hero-card a {
  display: block;
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.35;
  color: #fff;
}
.hero-card a:hover { text-decoration: underline; }

/* Home sections */
.section { padding: 78px 0 70px; }
.section.gray { background: var(--gray); }
.section h1, .section h2, .page-hero h1, .block-title {
  font-family: var(--sans);
  font-weight: 500;
  color: var(--teal);
  letter-spacing: 0.2px;
}
.center { text-align: center; }
.section h1 { font-size: 40px; line-height: 1.25; margin: 0 0 18px; }
.section h2 { font-size: 32px; line-height: 1.3; margin: 0 0 16px; }
.lede {
  max-width: 860px;
  margin: 0 auto;
  font-size: 18px;
  color: #2f3838;
}
.icon-row {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.icon-tile {
  background: none;
  border: 0;
  color: var(--teal);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.25;
  padding: 0;
}
.icon-tile img { height: 108px; width: auto; margin: 0 auto 16px; }
.icon-tile:hover { color: #007c86; }

.solution-cards {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}
.sol-card { background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,0.02); }
.sol-card img { width: 100%; height: 228px; object-fit: cover; }
.sol-card .pad { padding: 22px 26px 32px; }
.sol-card h3 {
  margin: 0 0 10px;
  color: var(--teal);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 20px;
}
.sol-card ul { margin: 0; padding-left: 18px; }
.sol-card li { margin: 3px 0; }
.sol-card button {
  background: none;
  border: 0;
  padding: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  cursor: pointer;
}
.sol-card button:hover { color: var(--teal); }

.split {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 36px;
  align-items: start;
}
.split img { width: 100%; height: 100%; max-height: 420px; object-fit: cover; }
.left-head { text-align: left; max-width: none; }
.left-copy { text-align: left; margin: 8px 0 18px; max-width: 760px; }
.subhead {
  margin: 18px 0 8px;
  color: var(--teal);
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 600;
}
.ecosystem {
  width: min(980px, 100%);
  margin: 28px auto 0;
}
.actions { margin-top: 28px; display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 14px 26px;
  border: 1px solid var(--teal);
  color: var(--teal);
  background: transparent;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.btn:hover { background: var(--teal); color: #fff; }
.btn.solid { background: var(--teal); color: #fff; }
.btn.solid:hover { background: var(--teal-deep); }

/* Footer */
.site-footer { background: var(--footer); color: #fff; padding: 62px 0 26px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 40px;
}
.site-footer h2 {
  margin: 0 0 28px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 42px;
  color: #fff;
}
.foot-links {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  border-top: 1px solid rgba(255,255,255,0.45);
}
.foot-links a, .legal a, .foot-links button, .legal button {
  display: block;
  background: none;
  border: 0;
  color: #fff;
  text-align: left;
  font-family: var(--sans);
  font-size: 15px;
  padding: 11px 8px 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.45);
  width: 100%;
}
.foot-links a:hover, .legal a:hover, .foot-links button:hover, .legal button:hover { text-decoration: underline; }
.footer-brand img { height: 42px; width: auto; margin: 8px 0 22px; }
.site-footer h3 {
  margin: 0 0 10px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
}
.addr { margin: 0 0 16px; font-family: var(--sans); font-size: 15px; line-height: 1.45; }
.footer-bottom {
  margin-top: 54px;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 40px;
  align-items: end;
}
.copy { margin: 0; max-width: 640px; font-family: var(--sans); font-size: 11px; line-height: 1.45; color: rgba(255,255,255,0.92); }
.legal { display: grid; grid-template-columns: 1fr 1fr; }
.legal a, .legal button { border-bottom: 0; padding: 3px 0; font-size: 14px; }

/* Inner pages */
.page-view { display: none; min-height: calc(100vh - 220px); }
.page-view.show { display: block; }
.home-view.hide { display: none; }
.page-hero {
  background: var(--gray);
  padding: 54px 0 42px;
}
.crumb {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--teal);
  margin: 0 0 10px;
}
.crumb button { background: none; border: 0; color: var(--teal); padding: 0; font: inherit; }
.crumb button:hover { text-decoration: underline; }
.page-hero h1 { font-size: 40px; margin: 0; }
.page-body { padding: 42px 0 72px; }
.page-body .lead { font-size: 19px; max-width: 760px; }
.points { padding-left: 18px; max-width: 760px; }
.points li { margin: 8px 0; }
.related { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--teal);
  font-family: var(--sans);
  font-size: 14px;
  padding: 8px 12px;
}
.chip:hover { border-color: var(--teal); background: #f3fbfb; }
.story-list { display: grid; gap: 16px; margin-top: 18px; }
.story {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  background: none;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  text-align: left;
  width: 100%;
}
.story strong { display: block; font-family: var(--sans); color: var(--teal); font-size: 20px; margin-bottom: 6px; }
.story span { font-family: var(--sans); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #6b7575; }

.form {
  margin-top: 12px;
  max-width: 640px;
  display: grid;
  gap: 14px;
}
.form label { font-family: var(--sans); font-size: 13px; color: var(--teal); display: grid; gap: 6px; }
.form input, .form textarea, .form select {
  border: 1px solid #c8c8c8;
  padding: 12px 12px;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid rgba(0, 87, 88, 0.25); border-color: var(--teal); }
.note { font-family: var(--sans); font-size: 14px; color: #5c6666; }
.success {
  background: #f4fbfb;
  border-left: 4px solid var(--teal);
  padding: 18px 18px;
  max-width: 640px;
}

.vendor-grid, .region-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}
.vendor-grid button, .region-grid button {
  text-align: left;
  background: #fff;
  border: 1px solid #e4e4e4;
  padding: 16px;
  font-family: var(--sans);
  color: var(--ink);
}
.vendor-grid button:hover, .region-grid button:hover { border-color: var(--teal); color: var(--teal); }
.vendor-grid button small, .region-grid button small { display: block; color: #708080; font-size: 12px; margin-top: 4px; }

/* Overlays */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 26, 0.46);
  z-index: 60;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 90px 20px 40px;
}
.overlay.show { display: flex; }
.panel {
  width: min(720px, 100%);
  background: #fff;
  padding: 28px 28px 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.18);
}
.panel h2 { margin: 0 0 8px; font-family: var(--sans); color: var(--teal); font-weight: 500; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.close-x { border: 0; background: none; font-size: 28px; line-height: 1; color: var(--teal); }
.search-input {
  width: 100%;
  border: 0;
  border-bottom: 2px solid var(--teal);
  font-size: 22px;
  padding: 10px 0;
  margin: 8px 0 12px;
}
.results { max-height: 360px; overflow: auto; }
.results button {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  border-bottom: 1px solid #eee;
  padding: 12px 0;
  font-family: var(--sans);
}
.results button small { display: block; color: #708080; font-weight: 400; }
.region-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 12px; }
.region-cols h3 { margin: 0 0 8px; font-family: var(--sans); font-size: 14px; color: var(--teal); }
.region-cols button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 5px 0;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
}
.region-cols button:hover { color: var(--teal); }

.gate {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--footer);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}
.gate.show { display: flex; }
.gate-card { width: min(520px, 100%); }
.gate img { height: 46px; margin: 0 auto 22px; }
.gate h2 { font-family: var(--sans); font-weight: 500; font-size: 32px; margin: 0 0 8px; }
.gate p { font-family: var(--sans); margin: 8px 0; }
.gate-url { color: var(--cyan); word-break: break-all; }
.bar { height: 4px; background: rgba(255,255,255,0.2); margin: 22px 0; }
.bar > div { height: 100%; width: 0; background: var(--cyan); }
.gate .btn { color: #fff; border-color: #fff; min-width: 160px; }

.cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  background: #fff;
  border-top: 1px solid #e5e5e5;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.06);
  padding: 18px 28px 16px;
}
.cookie.hide { display: none; }
.cookie h2 { margin: 0 0 8px; font-family: var(--sans); font-size: 18px; color: #555; }
.cookie p { margin: 0 0 8px; font-size: 13px; color: #444; font-family: var(--sans); }
.cookie-actions { display: flex; justify-content: flex-end; gap: 18px; align-items: center; }
.cookie-actions button.linkish { background: none; border: 0; color: var(--teal); font-family: var(--sans); }
.accept {
  background: #f5b400;
  border: 0;
  color: #1d1d1d;
  font-weight: 700;
  padding: 12px 18px;
  font-family: var(--sans);
}
.prefs { display: grid; gap: 10px; margin: 12px 0 18px; }
.prefs label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #eee;
  padding: 12px;
  font-family: var(--sans);
  font-size: 14px;
}
.drawer {
  display: none;
  position: fixed;
  inset: var(--header) 0 0 0;
  background: #fff;
  z-index: 39;
  overflow: auto;
  padding: 12px 20px 40px;
}
.drawer.show { display: block; }
.drawer .acc { width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid #eee; padding: 14px 0; font-family: var(--sans); font-size: 16px; }
.drawer .sub { display: none; padding: 4px 0 10px 8px; }
.drawer .sub.open { display: block; }

@media (max-width: 1100px) {
  .hero-copy { left: 8%; width: min(560px, 70vw); top: 14%; }
  .hero-card { width: 280px; }
  .mega-grid, .mega-grid.cols-4 { columns: 2; }
}
@media (max-width: 860px) {
  .nav, .tools { display: none; }
  .burger { display: block; }
  .hero { min-height: 0; padding-bottom: 0; }
  .hero-copy { position: relative; left: auto; top: auto; width: min(520px, 88%); margin: 48px auto 180px; }
  .scroll-cue { display: none; }
  .hero-cards { position: relative; flex-direction: column; }
  .hero-card { width: 100%; }
  .icon-row, .solution-cards, .split, .footer-grid, .footer-bottom, .vendor-grid, .region-cols { grid-template-columns: 1fr; }
  .section h1, .page-hero h1 { font-size: 32px; }
  .section h2 { font-size: 26px; }
  .site-footer h2 { font-size: 32px; }
  .foot-links { grid-template-columns: 1fr; }
  .legal { grid-template-columns: 1fr 1fr; }
}
