@charset "UTF-8";

/* 作者：搭客佬
官网：https://www.mhdapp.cn/ */

:root {
  --coral: #f04435;
  --coral-deep: #c92d24;
  --navy: #14253f;
  --navy-soft: #263a55;
  --ivory: #fffaf0;
  --paper: #fffdf8;
  --peach: #ffe4da;
  --aqua: #45bfc1;
  --sand: #e8d9c2;
  --line: #d9cbb8;
  --muted: #746b63;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--navy);
  background: var(--ivory);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

body.menu-open {
  overflow: hidden;
}

a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  color: inherit;
  font: inherit;
}

button,
summary {
  cursor: pointer;
}

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

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin-top: 0;
}

figure {
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible + i {
  outline: 3px solid var(--aqua);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.header-inner,
.hero-inner,
.section-inner,
.footer-inner {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: relative;
  z-index: 100;
  height: var(--header-height);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}

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

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
}

.brand-text {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  color: var(--navy);
  font-size: 20px;
  white-space: nowrap;
}

.brand-text span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.site-nav ul,
.footer-nav ul {
  display: flex;
  margin: 0;
  align-items: center;
}

.site-nav ul {
  gap: 34px;
}

.site-nav a {
  position: relative;
  display: block;
  padding: 26px 0 22px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--coral);
  content: "";
  opacity: 0;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--coral);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  opacity: 1;
}

.mobile-actions {
  display: none;
  align-items: center;
  gap: 8px;
}

.mobile-download,
.menu-toggle {
  min-height: 42px;
  border: 1px solid var(--navy);
}

.mobile-download {
  display: inline-flex;
  padding: 0 14px;
  align-items: center;
  background: var(--coral);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.menu-toggle {
  display: inline-grid;
  width: 44px;
  padding: 0;
  background: transparent;
  place-items: center;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 21px;
  height: 2px;
  background: var(--navy);
  content: "";
}

.menu-icon {
  position: relative;
}

.menu-icon::before {
  position: absolute;
  top: -7px;
}

.menu-icon::after {
  position: absolute;
  top: 7px;
}

.anchor-icon,
.compass-icon,
.top-icon {
  display: inline-block;
  flex: 0 0 auto;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.anchor-icon {
  width: 21px;
  height: 21px;
  background-image: url("../icons/anchor.svg");
}

.compass-icon {
  width: 20px;
  height: 20px;
  background-image: url("../icons/compass.svg");
}

.top-icon {
  width: 24px;
  height: 24px;
  background-image: url("../icons/top.svg");
}

.hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background-color: var(--ivory);
  background-image: radial-gradient(circle at 1px 1px, rgba(20, 37, 63, 0.06) 1px, transparent 0);
  background-size: 24px 24px;
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  min-height: 720px;
  grid-template-columns: minmax(0, 1fr) 520px;
  align-items: center;
  gap: 78px;
}

.hero-copy {
  padding: 80px 0 105px;
}

.eyebrow,
.section-index {
  margin-bottom: 12px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.hero h1 {
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(82px, 8vw, 120px);
  line-height: 1;
  letter-spacing: -0.05em;
  white-space: nowrap;
}

.hero-slogan {
  margin-bottom: 20px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 800;
}

.hero-description {
  max-width: 560px;
  margin-bottom: 28px;
  color: var(--muted);
}

.hero-action {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.primary-link {
  display: inline-flex;
  min-width: 206px;
  min-height: 58px;
  padding: 0 24px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--coral);
  color: #fff;
  border: 2px solid var(--coral);
  font-weight: 800;
}

.primary-link:hover {
  color: var(--coral);
  background: transparent;
}

.primary-link:hover .anchor-icon {
  filter: invert(31%) sepia(84%) saturate(2462%) hue-rotate(346deg) brightness(96%) contrast(95%);
}

.age-label {
  color: var(--muted);
  font-size: 12px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  margin: 34px 0 0;
  gap: 25px;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-points span {
  display: grid;
  width: 28px;
  height: 28px;
  color: var(--coral);
  border: 1px solid var(--coral);
  border-radius: 50%;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
}

.hero-points strong {
  font-size: 13px;
}

.guide-sheet {
  position: relative;
  padding: 32px;
  background: var(--paper);
  border: 1px solid var(--sand);
  box-shadow: 18px 22px 0 rgba(20, 37, 63, 0.08), 0 18px 50px rgba(20, 37, 63, 0.1);
  transform: rotate(0.6deg);
}

.sheet-clip {
  position: absolute;
  top: -18px;
  right: 32px;
  width: 20px;
  height: 58px;
  border: 3px solid var(--navy-soft);
  border-bottom: 0;
  border-radius: 13px 13px 0 0;
  transform: rotate(8deg);
}

.sheet-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.sheet-head > div {
  display: flex;
  flex-direction: column;
}

.sheet-head span,
.sheet-number {
  color: var(--muted);
  font-size: 12px;
}

.sheet-head strong {
  color: var(--coral);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
}

.search-strip {
  display: flex;
  height: 44px;
  margin-top: 18px;
  padding: 0 14px;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  font-size: 13px;
}

.route-tabs {
  display: grid;
  margin-top: 12px;
  grid-template-columns: repeat(3, 1fr);
}

.route-tabs button {
  min-height: 40px;
  background: transparent;
  border: 1px solid var(--line);
  border-right: 0;
  font-size: 12px;
  font-weight: 700;
}

.route-tabs button:last-child {
  border-right: 1px solid var(--line);
}

.route-tabs button.is-current {
  color: #fff;
  background: var(--coral);
  border-color: var(--coral);
}

.feature-poster {
  position: relative;
  min-height: 180px;
  margin-top: 12px;
  padding: 26px;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
}

.poster-label,
.poster-meta {
  position: relative;
  z-index: 2;
  display: block;
  font-size: 12px;
}

.feature-poster strong {
  position: relative;
  z-index: 2;
  display: block;
  max-width: 250px;
  margin: 15px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.35;
}

.poster-sun {
  position: absolute;
  top: 28px;
  right: 54px;
  width: 116px;
  height: 116px;
  background: var(--coral);
  border-radius: 50%;
}

.poster-sail {
  position: absolute;
  right: -22px;
  bottom: -26px;
  width: 185px;
  height: 150px;
  background: var(--aqua);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  transform: rotate(-7deg);
}

.poster-sail::after {
  position: absolute;
  right: 64px;
  bottom: 0;
  width: 3px;
  height: 146px;
  background: #fff;
  content: "";
  transform: rotate(7deg);
}

.sheet-bottom {
  display: grid;
  margin-top: 18px;
  grid-template-columns: 1fr 145px;
  gap: 20px;
}

.mini-title {
  display: flex;
  justify-content: space-between;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
}

.mini-title strong {
  font-size: 14px;
}

.mini-title span {
  color: var(--muted);
  font-size: 12px;
}

.shelf-list ul {
  margin-bottom: 0;
}

.shelf-list li {
  display: grid;
  padding: 8px 0;
  grid-template-columns: 18px 1fr auto;
  align-items: center;
  border-bottom: 1px solid #eee5d7;
  gap: 7px;
  font-size: 12px;
}

.shelf-list li i {
  width: 12px;
  height: 12px;
  border: 1px solid var(--coral);
}

.shelf-list li strong {
  color: var(--coral);
  font-size: 12px;
}

.route-map {
  position: relative;
  min-height: 150px;
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.route-map > strong {
  font-size: 14px;
}

.map-pin {
  position: absolute;
  top: 34px;
  right: 24px;
  width: 24px;
  height: 24px;
  background: var(--coral);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.map-pin::after {
  position: absolute;
  top: 7px;
  left: 7px;
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
  content: "";
}

.map-path {
  position: absolute;
  top: 76px;
  right: 16px;
  width: 90px;
  height: 48px;
  border-bottom: 2px dashed var(--coral);
  border-radius: 50%;
  transform: rotate(-12deg);
}

.route-map p {
  position: absolute;
  right: 5px;
  bottom: 0;
  margin: 0;
  font-size: 12px;
  text-align: right;
}

.route-status {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.hero-wave {
  position: absolute;
  right: -5%;
  left: -5%;
  border-radius: 50%;
}

.hero-wave-one {
  bottom: -145px;
  height: 230px;
  background: rgba(69, 191, 193, 0.16);
  transform: rotate(-2deg);
}

.hero-wave-two {
  bottom: -190px;
  height: 250px;
  background: rgba(69, 191, 193, 0.12);
  transform: rotate(2deg);
}

.lighthouse {
  position: absolute;
  bottom: 0;
  left: max(18px, calc(50% - 740px));
  z-index: 2;
  width: 90px;
  height: 220px;
}

.light-top,
.light-body,
.light-rock {
  position: absolute;
  display: block;
}

.light-top {
  top: 17px;
  left: 27px;
  width: 38px;
  height: 32px;
  background: var(--navy);
  border-top: 7px solid var(--coral);
}

.light-top::before {
  position: absolute;
  top: -23px;
  left: -6px;
  width: 0;
  height: 0;
  border-right: 25px solid transparent;
  border-bottom: 17px solid var(--navy);
  border-left: 25px solid transparent;
  content: "";
}

.light-body {
  top: 48px;
  left: 18px;
  width: 56px;
  height: 132px;
  background: repeating-linear-gradient(to bottom, #f6eee1 0 28px, var(--coral) 28px 54px);
  clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%);
}

.light-rock {
  bottom: 0;
  left: 0;
  width: 90px;
  height: 48px;
  background: #c9bba7;
  clip-path: polygon(12% 32%, 30% 0, 52% 24%, 72% 5%, 100% 100%, 0 100%);
}

.section-inner {
  padding-top: 105px;
  padding-bottom: 105px;
}

.section-heading {
  display: grid;
  margin-bottom: 46px;
  grid-template-columns: minmax(0, 1fr) 410px;
  align-items: end;
  gap: 50px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 54px;
  line-height: 1.15;
}

.section-heading > p {
  margin-bottom: 4px;
  color: var(--muted);
}

.route-section {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.discovery-route {
  position: relative;
  display: grid;
  margin-bottom: 0;
  grid-template-columns: repeat(4, 1fr);
}

.discovery-route::before {
  position: absolute;
  top: 38px;
  right: 10%;
  left: 10%;
  height: 2px;
  background: var(--coral);
  content: "";
}

.discovery-route li {
  position: relative;
  z-index: 2;
  padding: 0 18px;
  text-align: center;
}

.route-node {
  display: grid;
  width: 76px;
  height: 76px;
  margin: 0 auto 24px;
  color: var(--coral);
  background: var(--paper);
  border: 3px solid var(--coral);
  border-radius: 50%;
  place-items: center;
  font-size: 14px;
  font-weight: 800;
}

.discovery-route strong {
  display: block;
  font-size: 20px;
}

.discovery-route p {
  margin: 8px auto 0;
  color: var(--muted);
  font-size: 13px;
}

.tour-section {
  background: var(--ivory);
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.screen-card {
  display: grid;
  width: 100%;
  min-width: 0;
  margin: 0;
  grid-template-rows: auto 72px;
  background: #fff;
  border: 1px solid var(--line);
}

.screen-media {
  display: flex;
  width: 100%;
  aspect-ratio: 9 / 16;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff7f1;
}

.screen-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.screen-card figcaption {
  display: flex;
  min-height: 72px;
  padding: 15px 18px;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--line);
}

.screen-card figcaption span {
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
}

.screen-card figcaption strong {
  font-size: 17px;
}

.tide-section {
  background: var(--peach);
}

.tide-console {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 12px 12px 0 rgba(240, 68, 53, 0.12);
}

.tide-toolbar {
  display: grid;
  min-height: 86px;
  padding: 18px 24px;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.tide-toolbar > div:first-child {
  display: flex;
  flex-direction: column;
}

.tide-toolbar strong {
  font-size: 20px;
}

.tide-toolbar span {
  color: var(--muted);
  font-size: 12px;
}

.tide-filters {
  display: flex;
}

.tide-filters button {
  min-width: 72px;
  min-height: 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-right: 0;
  font-size: 12px;
}

.tide-filters button:last-child {
  border-right: 1px solid var(--line);
}

.tide-filters button.is-selected {
  color: #fff;
  background: var(--coral);
  border-color: var(--coral);
}

.reminder-switch {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.reminder-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.reminder-switch i {
  position: relative;
  display: block;
  width: 44px;
  height: 24px;
  background: #b8b2aa;
  border-radius: 14px;
}

.reminder-switch i::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  content: "";
}

.reminder-switch input:checked + i {
  background: var(--coral);
}

.reminder-switch input:checked + i::after {
  left: 23px;
}

.week-track {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-bottom: 1px solid var(--line);
}

.week-track span {
  display: grid;
  min-height: 58px;
  place-items: center;
  border-right: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
}

.week-track span:last-child {
  border-right: 0;
}

.week-track .is-today {
  color: var(--coral);
  background: var(--peach);
}

.tide-rows {
  padding: 8px 24px 18px;
}

.tide-rows article {
  display: grid;
  min-height: 70px;
  grid-template-columns: 120px 150px 1fr 120px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}

.tide-rows article:last-child {
  border-bottom: 0;
}

.row-type,
.tide-rows article > span:last-child {
  color: var(--muted);
  font-size: 12px;
}

.tide-rows article > span:last-child {
  text-align: right;
}

.tide-rows article > strong {
  font-size: 14px;
}

.tide-rows article > i {
  display: block;
  height: 7px;
  overflow: hidden;
  background: #eee5d8;
  border-radius: 4px;
}

.tide-rows article > i > b {
  display: block;
  height: 100%;
  background: var(--coral);
}

.faq-section {
  background: var(--ivory);
}

.faq-list {
  border-top: 2px solid var(--navy);
}

.faq-item {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.faq-item > button {
  display: grid;
  width: 100%;
  min-height: 76px;
  padding: 0 24px;
  grid-template-columns: 54px 1fr 24px;
  align-items: center;
  background: transparent;
  border: 0;
  text-align: left;
}

.faq-item button > span {
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
}

.faq-item button strong {
  font-size: 16px;
}

.faq-item button > i,
.details-icon {
  position: relative;
  width: 18px;
  height: 18px;
}

.faq-item button > i::before,
.faq-item button > i::after,
.details-icon::before,
.details-icon::after {
  position: absolute;
  top: 8px;
  left: 2px;
  width: 14px;
  height: 1px;
  background: currentColor;
  content: "";
}

.faq-item button > i::after,
.details-icon::after {
  transform: rotate(90deg);
}

.faq-item button[aria-expanded="true"] > i::after,
.official-site[open] .details-icon::after {
  transform: rotate(0);
}

.faq-answer {
  padding: 0 72px 24px 78px;
  color: var(--muted);
}

.faq-answer p {
  margin-bottom: 0;
}

.official-site {
  width: 100%;
  margin-top: 28px;
  background: var(--paper);
  border: 2px solid var(--coral);
}

.official-site summary {
  display: flex;
  min-height: 74px;
  padding: 0 24px;
  align-items: center;
  justify-content: space-between;
  font-weight: 800;
  list-style: none;
}

.official-site summary::-webkit-details-marker {
  display: none;
}

.official-site summary > span {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.official-answer {
  padding: 0 58px 24px;
}

.official-answer a {
  color: var(--coral);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.review-section {
  background: #f3eee5;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.review-card {
  position: relative;
  min-height: 272px;
  padding: 28px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
}

.review-card::after {
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 78px;
  height: 78px;
  border: 2px solid rgba(240, 68, 53, 0.18);
  border-radius: 50%;
  content: "";
}

.review-card header {
  display: grid;
  grid-template-columns: 38px auto 1fr;
  align-items: center;
  gap: 10px;
}

.avatar {
  display: grid;
  width: 38px;
  height: 38px;
  color: #fff;
  background: var(--navy);
  border-radius: 50%;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
}

.review-card header strong {
  font-size: 14px;
}

.review-card time {
  justify-self: end;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.review-card > p {
  position: relative;
  z-index: 2;
  margin: 26px 0 0;
  font-size: 14px;
  line-height: 2;
}

.download-section {
  color: var(--navy);
  background: var(--peach);
}

.download-section .section-inner {
  padding-top: 88px;
  padding-bottom: 88px;
}

.boarding-pass {
  position: relative;
  display: grid;
  min-height: 220px;
  grid-template-columns: minmax(0, 1fr) 290px 245px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 12px 12px 0 rgba(20, 37, 63, 0.09);
}

.boarding-pass::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(100% - 245px);
  border-left: 2px dashed var(--sand);
  content: "";
}

.pass-copy,
.pass-action,
.pass-stamp {
  display: flex;
  min-width: 0;
  padding: 34px;
  justify-content: center;
  flex-direction: column;
}

.pass-copy h2 {
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1.3;
}

.pass-copy > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.pass-action {
  align-items: center;
  border-left: 1px solid var(--line);
}

.pass-action a {
  display: inline-flex;
  width: 100%;
  min-height: 62px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  background: var(--coral);
  border: 2px solid var(--coral);
  font-weight: 800;
  white-space: nowrap;
}

.pass-action a:hover {
  color: var(--coral);
  background: transparent;
}

.pass-action .age-label {
  margin-top: 11px;
}

.pass-stamp {
  align-items: center;
  color: var(--coral);
  text-align: center;
}

.pass-stamp > span,
.pass-stamp > strong {
  font-size: 12px;
  letter-spacing: 0.12em;
}

.pass-stamp .anchor-icon {
  width: 72px;
  height: 72px;
  margin: 12px 0;
  filter: invert(31%) sepia(84%) saturate(2462%) hue-rotate(346deg) brightness(96%) contrast(95%);
}

.site-footer {
  color: #fff;
  background: var(--navy);
}

.footer-inner {
  padding-top: 46px;
}

.footer-main {
  display: flex;
  padding-bottom: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.footer-brand .brand-text strong {
  color: #fff;
}

.footer-brand .brand-text span {
  color: rgba(255, 255, 255, 0.65);
}

.footer-nav ul {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 26px;
}

.footer-nav a {
  font-size: 13px;
  font-weight: 700;
}

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

.footer-bottom {
  padding: 18px 0 22px;
  border-top: 1px solid #fff;
  text-align: center;
}

.footer-bottom p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: grid;
  width: 50px;
  height: 50px;
  padding: 0;
  color: #fff;
  background: var(--navy);
  border: 2px solid var(--coral);
  opacity: 0;
  pointer-events: none;
  place-items: center;
}

.back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 1020px) {
  body {
    padding-top: var(--header-height);
  }

  .site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
  }

  .mobile-actions {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    background: var(--paper);
    border-top: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    width: min(100% - 32px, 1200px);
    margin: 0 auto;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .site-nav li {
    border-bottom: 1px solid var(--line);
  }

  .site-nav a {
    padding: 15px 4px;
  }

  .site-nav a::after {
    display: none;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 35px;
  }

  .hero h1 {
    font-size: 72px;
  }

  .hero-slogan {
    font-size: 28px;
  }

  .guide-sheet {
    padding: 24px;
  }

  .lighthouse {
    display: none;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .tide-toolbar {
    grid-template-columns: 1fr auto;
  }

  .reminder-switch {
    grid-column: 1 / -1;
  }

  .boarding-pass {
    grid-template-columns: minmax(0, 1fr) 250px;
  }

  .boarding-pass::before,
  .pass-stamp {
    display: none;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 66px;
  }

  .header-inner,
  .hero-inner,
  .section-inner,
  .footer-inner {
    width: min(100% - 28px, 1200px);
  }

  .brand {
    gap: 8px;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand-text strong {
    font-size: 16px;
  }

  .brand-text span {
    display: block;
    max-width: none;
    overflow: visible;
    text-overflow: clip;
    font-size: 12px;
  }

  .mobile-download {
    padding: 0 10px;
  }

  .hero {
    min-height: 0;
  }

  .hero-inner {
    min-height: 0;
    padding: 64px 0 76px;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 0;
    text-align: center;
  }

  .hero h1 {
    font-size: clamp(58px, 20vw, 78px);
    white-space: normal;
  }

  .hero-slogan {
    font-size: 25px;
  }

  .hero-description {
    margin-right: auto;
    margin-left: auto;
    font-size: 14px;
  }

  .hero-action {
    align-items: center;
  }

  .hero-points {
    justify-content: center;
    gap: 12px;
  }

  .guide-sheet {
    padding: 24px 18px;
    box-shadow: 8px 10px 0 rgba(20, 37, 63, 0.08);
    transform: none;
  }

  .sheet-clip {
    right: 20px;
  }

  .sheet-head strong {
    font-size: 23px;
  }

  .feature-poster {
    min-height: 190px;
    padding: 23px;
  }

  .feature-poster strong {
    max-width: 210px;
    font-size: 22px;
  }

  .sheet-bottom {
    grid-template-columns: 1fr;
  }

  .route-map {
    min-height: 125px;
    padding: 16px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .section-inner {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .section-heading h2 {
    font-size: 39px;
  }

  .section-heading > p {
    font-size: 14px;
  }

  .discovery-route {
    grid-template-columns: 1fr;
  }

  .discovery-route::before {
    top: 38px;
    bottom: 38px;
    left: 37px;
    width: 2px;
    height: auto;
  }

  .discovery-route li {
    display: grid;
    padding: 0 0 28px;
    grid-template-columns: 76px 1fr;
    align-items: center;
    gap: 18px;
    text-align: left;
  }

  .discovery-route li:last-child {
    padding-bottom: 0;
  }

  .route-node {
    margin: 0;
  }

  .screen-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .screen-card {
    grid-template-rows: auto 62px;
  }

  .screen-card figcaption {
    min-height: 62px;
    padding: 12px;
    gap: 8px;
  }

  .screen-card figcaption strong {
    font-size: 14px;
  }

  .tide-toolbar {
    padding: 18px;
    grid-template-columns: 1fr;
  }

  .reminder-switch {
    grid-column: auto;
  }

  .tide-filters {
    width: 100%;
  }

  .tide-filters button {
    flex: 1;
  }

  .week-track span {
    min-height: 48px;
    writing-mode: vertical-rl;
  }

  .tide-rows {
    padding: 8px 18px 16px;
  }

  .tide-rows article {
    padding: 16px 0;
    grid-template-columns: 1fr auto;
    gap: 8px 14px;
  }

  .tide-rows article > i {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .tide-rows article > span:last-child {
    grid-column: 2;
    grid-row: 1;
  }

  .row-type {
    display: none;
  }

  .faq-item > button {
    min-height: 68px;
    padding: 0 14px;
    grid-template-columns: 36px 1fr 20px;
  }

  .faq-item button strong {
    font-size: 14px;
  }

  .faq-answer {
    padding: 0 18px 22px 50px;
    font-size: 13px;
  }

  .official-site summary {
    min-height: 68px;
    padding: 0 16px;
    font-size: 14px;
  }

  .official-answer {
    padding: 0 48px 20px;
    font-size: 13px;
  }

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

  .review-card {
    min-height: 0;
  }

  .review-card time {
    justify-self: end;
  }

  .boarding-pass {
    grid-template-columns: 1fr;
  }

  .pass-copy,
  .pass-action {
    padding: 26px 22px;
    text-align: center;
  }

  .pass-copy {
    border-bottom: 2px dashed var(--sand);
  }

  .pass-copy h2 {
    font-size: 27px;
  }

  .pass-action {
    border-left: 0;
  }

  .pass-action a {
    max-width: 290px;
  }

  .footer-main {
    align-items: center;
    flex-direction: column;
  }

  .footer-nav ul {
    justify-content: center;
    gap: 16px 22px;
  }

  .back-top {
    right: 14px;
    bottom: 14px;
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 390px) {
  .brand-text strong {
    font-size: 14px;
  }

  .mobile-download {
    padding: 0 8px;
  }

  .menu-toggle {
    width: 40px;
  }

  .route-tabs button {
    font-size: 12px;
  }

  .review-card {
    padding: 22px 18px;
  }

  .review-card header {
    grid-template-columns: 36px auto 1fr;
    gap: 7px;
  }

  .review-card time {
    font-size: 12px;
  }
}
