:root {
  color-scheme: dark;
  --ink: #f4fbff;
  --muted: #9bb0bf;
  --line: rgba(124, 225, 255, 0.18);
  --panel: rgba(9, 30, 43, 0.76);
  --accent: #62e5ff;
  --accent-strong: #19bde7;
  --background: #031018;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 6%, rgba(38, 190, 223, 0.18), transparent 30rem),
    radial-gradient(circle at 12% 42%, rgba(17, 85, 116, 0.24), transparent 35rem),
    linear-gradient(150deg, #061824 0%, var(--background) 58%, #02090d 100%);
  font-family: "Avenir Next", "Noto Sans SC", "PingFang SC", sans-serif;
  line-height: 1.72;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.2;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

a {
  color: var(--accent);
  text-underline-offset: 0.25em;
}

a:hover {
  color: #baf5ff;
}

.shell {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 80px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.mark {
  position: relative;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(123, 232, 255, 0.5);
  border-radius: 10px;
  background: linear-gradient(145deg, #0f3449, #06131d);
  box-shadow: 0 0 30px rgba(60, 214, 255, 0.14);
}

.mark::before,
.mark::after {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 5px;
  border-radius: 4px;
  background: var(--accent);
  content: "";
}

.mark::before { top: 8px; }
.mark::after { bottom: 8px; opacity: 0.5; }

nav {
  display: flex;
  gap: 24px;
  font-size: 0.92rem;
}

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

nav a[aria-current="page"] {
  color: var(--ink);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: "Iowan Old Style", "Noto Serif SC", "Songti SC", serif;
  font-weight: 600;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.96;
}

.lead {
  max-width: 660px;
  margin: 30px 0 0;
  color: #c4d4de;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.divider {
  width: 72px;
  height: 3px;
  margin: 46px 0;
  border: 0;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.card {
  margin-top: 42px;
  padding: clamp(26px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.card h2 {
  margin: 0 0 18px;
  font-size: clamp(1.7rem, 4vw, 2.55rem);
}

.contact {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  margin-top: 14px;
  padding: 0 20px;
  border: 1px solid rgba(98, 229, 255, 0.46);
  border-radius: 999px;
  color: #001219;
  background: var(--accent);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 35px rgba(47, 204, 239, 0.17);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.contact:hover {
  color: #001219;
  transform: translateY(-2px);
  box-shadow: 0 18px 46px rgba(47, 204, 239, 0.25);
}

.details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--line);
}

.detail {
  min-height: 122px;
  padding: 20px;
  background: #071923;
}

.detail strong {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detail span,
.policy-section p,
.date {
  color: var(--muted);
}

.policy {
  max-width: 760px;
}

.policy-section {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.policy-section:first-of-type {
  border-top: 0;
}

.policy-section h2 {
  margin: 0 0 10px;
  font-size: 1.55rem;
}

.policy-section p {
  margin: 0;
}

.language-break {
  margin: 68px 0 34px;
  padding-top: 22px;
  border-top: 2px solid var(--accent-strong);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 70px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: #78909f;
  font-size: 0.82rem;
}

@media (prefers-reduced-motion: no-preference) {
  main {
    animation: arrive 500ms ease-out both;
  }

  @keyframes arrive {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 28px, 920px); padding-top: 22px; }
  .topbar { align-items: flex-start; margin-bottom: 54px; }
  nav { flex-direction: column; gap: 5px; text-align: right; }
  .details { grid-template-columns: 1fr; }
  .detail { min-height: 0; }
  footer { flex-direction: column; gap: 6px; }
}
