@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700&family=Syne:wght@400;500;600;700&display=swap');

:root {
  --mint: #b4fde1;
  --blue: #add8e6;
  --ink: #172620;
  --ink2: #1d3129;
  --ink3: #27453a;
  --line: #3a5a4c;
  --text: #e9f7f0;
  --dim: #b6d3c5;
  --r: 20px;
  --clay: inset -3px -3px 9px rgba(6, 20, 15, 0.55), inset 3px 3px 9px rgba(180, 253, 225, 0.08),
    6px 8px 18px rgba(5, 16, 12, 0.5);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--ink);
  background-image: radial-gradient(rgba(180, 253, 225, 0.1) 1px, transparent 1px),
    radial-gradient(circle at 88% -6%, rgba(173, 216, 230, 0.18), transparent 58%);
  background-size: 22px 22px, 100% 100%;
  color: var(--text);
  font-family: Manrope, system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--blue);
}

img {
  max-width: 100%;
}

hr {
  width: 88px;
  height: 5px;
  border: 0;
  border-radius: 4px;
  margin: 10px 0 16px;
  background: linear-gradient(90deg, var(--mint), var(--blue));
}

.brand {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  border: 3px solid var(--mint);
  background: linear-gradient(160deg, #2a4a3d, #1a2e26);
  box-shadow: var(--clay);
  color: var(--mint);
  font-family: Syne, system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  text-decoration: none;
  transition: transform 0.2s ease-out;
}

.brand:active {
  transform: scale(0.94);
}

.brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 10px;
}

.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  overflow: hidden;
  padding: 110px 18px 48px;
  border-bottom: 4px solid var(--line);
  box-shadow: inset -3px -3px 12px rgba(6, 20, 15, 0.6);
}

.hero-rot {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-rot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: rot calc(var(--n, 1) * 6s) linear infinite;
}

.hero-rot img:first-child {
  animation-delay: 0s;
}

.hero-rot img:nth-child(2) {
  animation-delay: 6s;
}

.hero-rot img:nth-child(3) {
  animation-delay: 12s;
}

.hero-rot.single img {
  animation: none;
  opacity: 1;
}

@keyframes rot {
  0% { opacity: 0; }
  4% { opacity: 1; }
  30% { opacity: 1; }
  34% { opacity: 0; }
  100% { opacity: 0; }
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(23, 38, 32, 0.97), rgba(23, 38, 32, 0.55) 58%, rgba(23, 38, 32, 0.78)),
    radial-gradient(rgba(180, 253, 225, 0.12) 1px, transparent 1px);
  background-size: 100% 100%, 20px 20px;
}

.hero-in {
  position: relative;
  z-index: 2;
  margin-left: auto;
  max-width: 760px;
  text-align: right;
}

.hero h1 {
  margin: 0 0 14px;
  font-family: Syne, 'PingFang SC', system-ui, sans-serif;
  font-size: clamp(2rem, 6.5vw, 3.4rem);
  line-height: 1.14;
  letter-spacing: -0.5px;
  color: #eafff7;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.5), 0 1px 0 #2a4b3d;
}

.hero-sub {
  margin: 0 0 0 auto;
  max-width: 36ch;
  color: var(--dim);
  font-size: 1.02rem;
}

.stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 30px 16px 130px;
}

.aside {
  border: 3px solid var(--line);
  border-radius: var(--r);
  padding: 14px;
  background: linear-gradient(170deg, rgba(180, 253, 225, 0.12), rgba(23, 38, 32, 0.5));
  box-shadow: var(--clay);
}

.aside h2 {
  margin: 0;
  font-family: Syne, 'PingFang SC', system-ui, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: var(--mint);
}

.aside ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(122px, 1fr));
  gap: 4px;
  margin: 8px 0 0;
  padding: 0;
}

.aside a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 10px;
  border-radius: 12px;
  border: 2px solid transparent;
  color: var(--text);
  font-size: 0.96rem;
  text-decoration: none;
  transition: background 0.2s ease-out, color 0.2s ease-out;
}

.aside a:hover {
  color: var(--mint);
  border-color: var(--line);
  background: rgba(180, 253, 225, 0.12);
}

.sheet {
  min-width: 0;
}

.article section {
  margin: 0 0 26px;
  padding: 22px 20px;
  border: 3px solid var(--line);
  border-radius: var(--r);
  scroll-margin-top: 86px;
  background: linear-gradient(165deg, rgba(180, 253, 225, 0.09), rgba(23, 38, 32, 0.35));
  box-shadow: var(--clay);
}

.article section:last-child {
  margin-bottom: 0;
}

.article h2 {
  margin: 0;
  font-family: Syne, 'PingFang SC', system-ui, sans-serif;
  font-size: clamp(1.4rem, 4vw, 1.95rem);
  line-height: 1.26;
  color: var(--mint);
}

.article h3 {
  margin: 22px 0 8px;
  font-size: 1.14rem;
  color: var(--blue);
}

.article p {
  margin: 0 0 14px;
}

.article p:last-child {
  margin-bottom: 0;
}

.article ul,
.article ol {
  margin: 0 0 14px;
  padding-left: 1.25em;
}

.article li {
  margin: 6px 0;
}

.article a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.article a:hover {
  color: var(--mint);
}

.article strong {
  color: #ffffff;
}

.article blockquote {
  margin: 0 0 14px;
  padding: 12px 16px;
  border-left: 5px solid var(--mint);
  border-radius: 4px;
  background: rgba(180, 253, 225, 0.1);
}

.article table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.96rem;
}

.article th,
.article td {
  border: 2px solid var(--line);
  padding: 8px 10px;
  text-align: left;
}

.article th {
  background: rgba(180, 253, 225, 0.12);
}

.js .article section {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease-out, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.js .article section.rv-in {
  opacity: 1;
  transform: none;
}

.foot {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px 140px;
}

.foot-cta {
  display: grid;
  gap: 18px;
  padding: 26px 20px;
  border: 4px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(150deg, rgba(180, 253, 225, 0.18), rgba(173, 216, 230, 0.1) 46%, rgba(23, 38, 32, 0.62));
  box-shadow: var(--clay);
}

.foot-cta h2 {
  margin: 0;
  font-family: Syne, 'PingFang SC', system-ui, sans-serif;
  font-size: clamp(1.4rem, 4vw, 2rem);
  color: var(--mint);
}

.foot-cta p {
  margin: 0;
  color: var(--dim);
}

.cta-act {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cta-act a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 18px;
  border: 3px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(160deg, var(--mint), var(--blue));
  box-shadow: var(--clay);
  color: #10231b;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease-out;
}

.cta-act a + a {
  background: linear-gradient(160deg, #2a4a3d, #1d322a);
  color: var(--mint);
}

.cta-act a:active {
  transform: translateY(3px);
}

.foot-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  padding: 14px;
  border: 3px solid var(--line);
  border-radius: var(--r);
  background: rgba(23, 38, 32, 0.62);
  box-shadow: var(--clay);
}

.foot-brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--mint);
  font-family: Syne, system-ui, sans-serif;
  font-weight: 700;
  text-decoration: none;
}

.foot-nav dl {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 0;
}

.foot-nav dt {
  flex: 0 0 100%;
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  color: var(--dim);
}

.foot-nav dd {
  margin: 0;
}

.foot-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 10px;
  border: 2px solid transparent;
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
}

.foot-nav a:hover {
  color: var(--mint);
  border-color: var(--line);
}

.copy {
  margin: 0;
  color: var(--dim);
  font-size: 0.92rem;
}

.dock {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 80;
  display: flex;
  justify-content: center;
  gap: 8px;
  max-width: 520px;
  margin-inline: auto;
  padding: 9px;
  border: 3px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(39, 69, 58, 0.97), rgba(23, 38, 32, 0.98));
  box-shadow: var(--clay);
  backdrop-filter: blur(6px);
}

.dock-g {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
}

.dock-tab,
.dock-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 10px 6px;
  border: 3px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(160deg, #2a493c, #1e332a);
  color: var(--mint);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--clay);
  transition: transform 0.2s ease-out, border-color 0.2s ease-out;
}

.dock-tab:active,
.dock-cta:active {
  transform: translateY(3px) scale(0.98);
}

.dock-cta {
  flex: 0 0 auto;
  padding-inline: 15px;
  border-color: var(--blue);
  background: linear-gradient(160deg, var(--mint), var(--blue));
  color: #10231b;
}

.dock-panel {
  display: none;
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  transform: translateX(-50%);
  min-width: 156px;
  padding: 8px;
  border: 3px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #28483b, #1a2e26);
  box-shadow: var(--clay);
}

.dock-g.is-open .dock-panel,
.dock-g:hover .dock-panel,
.dock-g:focus-within .dock-panel {
  display: block;
  animation: pop 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dock-panel a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 12px;
  color: var(--text);
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
}

.dock-panel a:hover {
  color: var(--mint);
  background: rgba(180, 253, 225, 0.14);
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translate(-50%, 10px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@media (min-width: 760px) {
  .foot-cta {
    grid-template-columns: 1.5fr 0.9fr;
    align-items: center;
    padding: 34px;
  }
}

@media (min-width: 900px) {
  .stage {
    grid-template-columns: 196px minmax(0, 1fr);
    gap: 30px;
    align-items: start;
  }

  .aside {
    position: sticky;
    top: 88px;
  }

  .aside ul {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding: 120px 40px 60px;
  }
}

@media (max-width: 420px) {
  body {
    font-size: 16.5px;
  }

  .hero {
    padding: 100px 14px 40px;
  }

  .foot-row {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .hero-rot img {
    opacity: 0;
  }

  .hero-rot img:first-child {
    opacity: 1;
  }

  .js .article section {
    opacity: 1;
    transform: none;
  }
}

button[aria-expanded]{min-width:44px;min-height:44px}
