:root {
  --bg: #06141b;
  --bg-2: #0c1f28;
  --ink: #e8f0f2;
  --muted: #9bb0b8;
  --line: rgba(232, 240, 242, 0.12);
  --accent: #3ee0c5;
  --accent-2: #c8f54a;
  --warn: #ffb020;
  --card: #0f2430;
  --radius: 18px;
  --header: 72px;
  --font: "Noto Sans TC", "Noto Sans SC", "Segoe UI", sans-serif;
  --display: "Syne", "Noto Sans TC", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html[lang="zh-Hans"] body {
  font-family: "Noto Sans SC", "Noto Sans TC", sans-serif;
}

html[lang="en"] body {
  font-family: "Noto Sans TC", "Segoe UI", sans-serif;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  min-height: 100vh;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--accent);
  color: #04221c;
  padding: 8px 12px;
  z-index: 20;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header);
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.logo-mark {
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--accent);
  border-radius: 9px;
  display: grid;
  place-items: center;
}

.pulse {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 70%, transparent);
  animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 10px transparent;
  }
}

.logo-text {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.25rem;
}

.logo-text span {
  color: var(--accent-2);
}

.nav {
  display: flex;
  gap: 22px;
}

.nav a {
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.lang button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 6px 11px;
  font: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.lang button[aria-pressed="true"] {
  background: var(--accent);
  color: #04221c;
  font-weight: 700;
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  margin: 5px auto;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 72px;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 30% 20%, #000 20%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
}

h1,
h2,
h3 {
  font-family: var(--display);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 16px;
}

h1 {
  max-width: 14em;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
}

.lead {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
}

.btn-primary {
  background: var(--accent);
  color: #04221c;
}

.btn-primary:hover {
  filter: brightness(1.05);
  text-decoration: none;
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--accent);
  text-decoration: none;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  max-width: 720px;
}

.stats div {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.stats dt {
  color: var(--muted);
  font-size: 0.8rem;
}

.stats dd {
  margin: 4px 0 0;
  font-family: var(--display);
  font-size: 1.2rem;
}

.section {
  padding: 88px 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 40px;
}

.kicker {
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin: 0 0 10px;
}

.section p {
  color: var(--muted);
}

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

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
  margin-bottom: 16px;
}

.card h3,
.steps h3 {
  font-size: 1.35rem;
}

.card ul,
.checks {
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.card li,
.checks li {
  position: relative;
  padding-left: 18px;
  color: var(--ink);
  margin-bottom: 8px;
}

.card li::before,
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent-2);
}

.hosting {
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border-block: 1px solid var(--line);
}

.hosting-inner,
.about-inner,
.contact-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.hosting-inner > *,
.about-inner > *,
.contact-inner > * {
  min-width: 0;
}

.panel {
  background: #07161d;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.panel-label {
  font-family: var(--display);
  color: var(--ink);
  margin: 0 0 16px;
}

.status-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.status-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.status-list strong {
  margin-left: auto;
  color: var(--accent);
  font-weight: 600;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.panel-note {
  font-size: 0.82rem;
  margin: 14px 0 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: none;
}

.steps li {
  border-top: 2px solid var(--accent);
  padding-top: 16px;
}

.steps span {
  font-family: var(--display);
  color: var(--accent-2);
  font-size: 0.9rem;
}

blockquote {
  margin: 0;
  padding: 28px;
  border-left: 3px solid var(--accent-2);
  background: var(--card);
  border-radius: 0 var(--radius) var(--radius) 0;
  overflow: hidden;
}

blockquote p {
  color: var(--ink);
  font-size: 1.15rem;
  font-family: var(--display);
}

cite {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-style: normal;
}

.form {
  display: grid;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #07161d;
  color: var(--ink);
  border-radius: 10px;
  padding: 12px 12px;
  font: inherit;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.form-status {
  margin: 0;
  color: var(--accent-2);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: baseline;
  color: var(--muted);
}

.footer-inner .logo-text {
  color: var(--ink);
}

.copy {
  margin-left: auto;
}

@media (max-width: 900px) {
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header);
    flex-direction: column;
    gap: 0;
    background: #082029;
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 16px;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .menu-btn {
    display: inline-block;
  }

  .cards,
  .steps,
  .hosting-inner,
  .about-inner,
  .contact-inner,
  .stats {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: none;
  }

  .copy {
    margin-left: 0;
  }
}

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

  .pulse {
    animation: none;
  }
}
