:root {
  color-scheme: dark;
  --bg: #07090a;
  --surface: #111417;
  --surface-2: #171b20;
  --line: #292f36;
  --text: #f4f7f8;
  --muted: #a6adb7;
  --accent: #d1ff63;
  --accent-soft: rgba(209, 255, 99, .12);
  --mint: #a7d9cf;
  --danger: #ff8088;
  --radius: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 0%, rgba(209,255,99,.08), transparent 28rem),
    radial-gradient(circle at 95% 20%, rgba(167,217,207,.08), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: #e4ff9d; }

.shell {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 36px;
}

.hero {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-bottom: 42px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  flex: 0 0 auto;
  border: 1px solid rgba(209,255,99,.36);
  border-radius: 30px;
  background: linear-gradient(145deg, var(--accent), #a7d9cf);
  color: #080a08;
  font-size: 38px;
  box-shadow: 0 18px 60px rgba(209,255,99,.15);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .16em;
}

h1, h2, h3 { line-height: 1.2; }
h1 { margin: 0; font-size: clamp(2.2rem, 7vw, 4.6rem); letter-spacing: -.045em; }
h2 { margin: 40px 0 12px; font-size: clamp(1.35rem, 3vw, 1.8rem); letter-spacing: -.02em; }
p { margin: 0 0 16px; }
ul { margin: 10px 0 20px; padding-left: 24px; }
li + li { margin-top: 8px; }

.lead { margin: 10px 0 0; color: var(--muted); font-size: 1.08rem; }
.muted { color: var(--muted); }

.card-grid { display: grid; gap: 14px; }

.doc-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17,20,23,.86);
  color: var(--text);
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.doc-card:hover { transform: translateY(-2px); border-color: rgba(209,255,99,.55); background: var(--surface-2); }
.doc-card strong { display: block; font-size: 1.15rem; }
.doc-card small { display: block; margin-top: 4px; color: var(--muted); font-size: .9rem; }
.doc-icon { color: var(--accent); font-size: 1.2rem; }
.arrow { color: var(--accent); font-size: 1.5rem; }

.contact-card, .english-note {
  margin-top: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.contact-card h2, .english-note h2 { margin-top: 0; }

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 6px;
  padding: 12px 18px;
  border-radius: 16px;
  background: var(--accent);
  color: #070907;
  font-weight: 800;
  text-decoration: none;
}

.primary-button:hover { color: #070907; background: #e0ff94; }

.top-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 48px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.top-nav a { color: var(--muted); font-weight: 700; text-decoration: none; }
.top-nav a:hover { color: var(--accent); }

.document { max-width: 820px; }
.document-header { margin-bottom: 34px; }
.document-header h1 { font-size: clamp(2.35rem, 8vw, 4.25rem); }

.document section {
  scroll-margin-top: 24px;
  margin-top: 18px;
  padding: 6px 2px;
}

.notice, .highlight-section {
  padding: 22px !important;
  border: 1px solid rgba(209,255,99,.36);
  border-radius: 20px;
  background: var(--accent-soft);
}

.highlight-section { margin: 36px 0 !important; }
.highlight-section h2 { margin-top: 0; }

hr { margin: 56px 0; border: 0; border-top: 1px solid var(--line); }
.english-section { color: #d9dde1; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .88rem;
}

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

@media (max-width: 620px) {
  .shell { padding-top: 36px; }
  .hero { align-items: flex-start; flex-direction: column; }
  .brand-mark { width: 72px; height: 72px; border-radius: 24px; }
  .doc-card { padding: 20px; }
  .top-nav, footer { align-items: flex-start; flex-direction: column; }
  .primary-button { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .doc-card { transition: none; }
}
