@import url('https://fonts.googleapis.com/css2?family=Cormorant+Infant:wght@300;400;500;600;700&family=Great+Vibes&display=swap');

:root {
  --ink: #172617;
  --ink-deep: #0c150c;
  --neon: #69ff69;
  --cyan: #00ffff;
  --paper: #e9fbe9;
  --mute: #a6c9b3;
  --line: rgba(105, 255, 105, 0.18);
  --chrome: linear-gradient(145deg, #ffffff, #c7dbcd 28%, #6d8f7b 47%, #f0fff4 62%, #9db9a6 82%, #ffffff);
  --glow: 0 0 22px rgba(0, 255, 255, 0.35);
  --serif: "Great Vibes", "Cormorant Infant", "Songti SC", "Georgia", serif;
  --sans: "Cormorant Infant", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(1000px 520px at 82% -8%, rgba(0, 255, 255, 0.16), transparent 66%),
    radial-gradient(760px 460px at 6% 8%, rgba(105, 255, 105, 0.13), transparent 64%),
    var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

hr {
  height: 3px;
  border: 0;
  margin: 8px 0 18px;
  background: linear-gradient(90deg, var(--neon), var(--cyan), transparent);
  transform: skewX(-16deg);
  transform-origin: left center;
}

[id] { scroll-margin-top: 132px; }

.skip {
  position: absolute;
  left: 10px;
  top: -70px;
  z-index: 80;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--neon);
  color: #08170a;
  text-decoration: none;
  font-size: 16px;
}
.skip:focus { top: 10px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, rgba(9, 18, 9, 0.97), rgba(23, 38, 23, 0.86));
  border-bottom: 1px solid rgba(0, 255, 255, 0.3);
  backdrop-filter: blur(9px);
}

.brandrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px clamp(14px, 4vw, 46px);
}

.marklink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  text-decoration: none;
  color: var(--neon);
}

.mark {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--chrome);
  object-fit: cover;
  box-shadow: 0 0 14px rgba(105, 255, 105, 0.6);
}

.brandname {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: 0.08em;
  text-shadow: 0 0 14px rgba(105, 255, 105, 0.6);
}

.contact {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 255, 0.55);
  color: var(--cyan);
  font-size: 16px;
  text-decoration: none;
  background: rgba(0, 255, 255, 0.07);
}
.contact:hover, .contact:focus-visible {
  background: rgba(0, 255, 255, 0.18);
  box-shadow: var(--glow);
}

.mainnav ol {
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 4px clamp(10px, 4vw, 46px) 9px;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.mainnav ol::-webkit-scrollbar { display: none; }

.mainnav li { flex: 0 0 auto; }

.mainnav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 16px;
  text-decoration: none;
  color: var(--paper);
  border: 1px solid rgba(105, 255, 105, 0.22);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(105, 255, 105, 0.05));
  white-space: nowrap;
}
.mainnav a:hover, .mainnav a:focus-visible {
  color: #08170a;
  background: linear-gradient(120deg, var(--neon), var(--cyan));
  box-shadow: var(--glow);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(20px, 4vw, 58px);
  min-height: 100svh;
  padding: 44px clamp(16px, 5vw, 66px) 108px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -46px;
  height: 96px;
  background: linear-gradient(90deg, var(--cyan), var(--neon) 62%, #d9ffe9);
  transform: skewY(-2.4deg);
  opacity: 0.92;
  z-index: 0;
}

.hero > * { position: relative; z-index: 1; }

.hero-copy { text-align: right; }

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 6.4vw, 58px);
  color: #ffffff;
  text-shadow: 0 0 18px rgba(0, 255, 255, 0.6), 0 0 44px rgba(105, 255, 105, 0.42);
}

.hero-lead {
  margin: 0 0 26px;
  color: var(--mute);
  font-size: 17px;
  max-width: 46ch;
  margin-left: auto;
}

.hero-figure {
  margin: 0;
  width: 100%;
  max-width: 430px;
  justify-self: center;
  border-radius: 22px;
  overflow: hidden;
  border: 2px solid rgba(0, 255, 255, 0.55);
  box-shadow: 0 0 46px rgba(0, 255, 255, 0.32);
}
.hero-img { display: block; width: 100%; height: auto; }

.hero-orb {
  position: relative;
  width: min(390px, 82vw);
  aspect-ratio: 1;
  justify-self: center;
  border-radius: 50%;
  background: var(--chrome);
  box-shadow: 0 0 70px rgba(0, 255, 255, 0.36), inset 0 0 44px rgba(105, 255, 105, 0.55);
  filter: drop-shadow(0 0 18px rgba(105, 255, 105, 0.5));
}

.hero-orb span {
  position: absolute;
  border-radius: 50%;
  background: var(--chrome);
  box-shadow: 0 0 16px rgba(0, 255, 255, 0.6);
}
.hero-orb span:nth-child(1) { width: 64px; height: 64px; top: 6%; right: 2%; }
.hero-orb span:nth-child(2) { width: 34px; height: 34px; bottom: 12%; left: 4%; }
.hero-orb span:nth-child(3) { width: 20px; height: 20px; bottom: 40%; right: 10%; }

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  color: #08170a;
  background: linear-gradient(120deg, var(--neon), var(--cyan));
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 24px rgba(0, 255, 255, 0.42);
}
.pill:hover, .pill:focus-visible {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

main { padding: clamp(30px, 5vw, 66px) clamp(14px, 4vw, 46px) 20px; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 286px;
  gap: clamp(20px, 3vw, 46px);
  align-items: start;
}

.prose { min-width: 0; }

.prose > section {
  padding-bottom: 26px;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--line);
}
.prose > section:last-child { border-bottom: 0; margin-bottom: 0; }

.prose > section > article {
  border-radius: 10px;
  padding: 14px 16px;
  background: rgba(0, 255, 255, 0.045);
  border-bottom: 2px solid rgba(105, 255, 105, 0.42);
}

.prose h2 {
  margin: 0;
  font-size: clamp(22px, 3.4vw, 32px);
  color: var(--neon);
  text-shadow: 0 0 16px rgba(105, 255, 105, 0.45);
}

.prose h3 {
  margin: 24px 0 10px;
  font-size: clamp(19px, 2.4vw, 23px);
  color: #d5ffe8;
}

.prose p { margin: 0 0 16px; }

.prose a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose strong { color: var(--neon); }

.prose ul, .prose ol { padding-left: 22px; margin: 0 0 16px; }
.prose li { margin: 0 0 10px; border-radius: 10px; }

.prose blockquote {
  margin: 20px 0;
  padding: 14px 18px;
  border-left: 3px solid var(--neon);
  border-radius: 0 10px 10px 0;
  background: rgba(0, 255, 255, 0.06);
  color: #d9ffe9;
}

.prose table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 16px;
}
.prose th, .prose td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.prose th { color: var(--neon); white-space: nowrap; }

.prose figure { margin: 18px 0; }
.prose img { max-width: 100%; height: auto; border-radius: 10px; }

.side {
  position: sticky;
  top: 130px;
  align-self: start;
  padding: 16px 18px 20px;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(0, 255, 255, 0.09), rgba(105, 255, 105, 0.045));
  border: 1px solid rgba(0, 255, 255, 0.28);
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.12) inset;
}

.side h2 {
  margin: 0;
  font-size: 22px;
  color: #ffffff;
  text-shadow: 0 0 14px rgba(0, 255, 255, 0.6);
}

.side-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: sidec;
}

.side-list li { border-bottom: 1px dashed rgba(105, 255, 105, 0.22); }
.side-list li:last-child { border-bottom: 0; }

.side-list a {
  display: flex;
  align-items: center;
  gap: 3px;
  min-height: 44px;
  padding: 8px 0;
  font-size: 16px;
  color: var(--paper);
  text-decoration: none;
}
.side-list a::before {
  counter-increment: sidec;
  content: counter(sidec, decimal-leading-zero);
  font-family: var(--serif);
  font-size: 14px;
  color: var(--cyan);
  margin-right: 6px;
}
.side-list a:hover, .side-list a:focus-visible { color: var(--neon); }

.foot {
  margin-top: 44px;
  padding: clamp(30px, 5vw, 58px) clamp(14px, 4vw, 46px) 42px;
  background: linear-gradient(165deg, rgba(12, 21, 12, 0.96), #14211a);
  border-top: 2px solid;
  border-image: linear-gradient(90deg, var(--neon), var(--cyan)) 1;
}

.foot-cta {
  max-width: 1180px;
  margin: 0 auto 26px;
}

.foot-cta h2 {
  margin: 0;
  font-size: clamp(32px, 7vw, 58px);
  color: #ffffff;
  text-shadow: 0 0 20px rgba(0, 255, 255, 0.55), 0 0 50px rgba(105, 255, 105, 0.4);
}

.foot-line {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.foot-line address {
  font-style: normal;
  font-size: 16px;
  color: var(--mute);
}

.foot-links {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.foot-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 16px;
  color: var(--paper);
  text-decoration: none;
  border: 1px solid rgba(0, 255, 255, 0.3);
}
.foot-links a:hover, .foot-links a:focus-visible {
  color: #08170a;
  background: linear-gradient(120deg, var(--neon), var(--cyan));
}

@media (prefers-reduced-motion: no-preference) {
  .prose > section {
    opacity: 0.001;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  .prose > section.in { opacity: 1; transform: none; }
  .hero-orb span { animation: bob 6s ease-in-out infinite; }
  .hero-orb span:nth-child(2) { animation-delay: 1.4s; }
  .hero-orb span:nth-child(3) { animation-delay: 2.6s; }
  @keyframes bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
  }
}

@media (max-width: 900px) {
  .wrap { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; }
}

@media (max-width: 760px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
    padding: 30px 16px 78px;
    gap: 22px;
  }
  .hero-figure, .hero-orb {
    max-width: 292px;
    width: min(292px, 76vw);
    justify-self: end;
  }
  .hero h1 { font-size: clamp(30px, 9vw, 40px); }
  .hero::after { height: 68px; bottom: -34px; }
  .brandname { font-size: 21px; }
  .foot-line { flex-direction: column; align-items: flex-start; }
  .prose > section > article { padding: 12px 12px; }
}

@media (max-width: 400px) {
  .mainnav a { padding: 8px 11px; }
  .contact { padding: 8px 12px; }
}

@media print {
  .topbar, .side, .skip { position: static; }
  body { background: #fff; color: #111; }
}

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