:root {
  --bg: #040a14;
  --bg-2: #07111f;
  --surface: #0c1830;
  --border: #18365e;
  --text: #f3f7ff;
  --text-muted: #a9b6cc;
  --primary: #2388ff;
  --primary-soft: rgba(35, 136, 255, 0.14);
  --amber: #ffaa00;
  --amber-soft: rgba(255, 170, 0, 0.12);
  --radius: 16px;
  --max-width: 900px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(35, 136, 255, 0.12), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

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

a:hover,
a:focus-visible {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(4, 10, 20, 0.92);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner,
.page-wrap,
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  flex-wrap: wrap;
}

.brand {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.02em;
}

.brand span {
  color: var(--primary);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.site-nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 8px 4px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

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

.page-wrap {
  padding-top: 32px;
  padding-bottom: 48px;
}

.hero-card,
.content-card,
.link-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  margin-bottom: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.hero-card {
  border-color: rgba(35, 136, 255, 0.35);
  background: linear-gradient(145deg, rgba(12, 24, 48, 0.95), rgba(7, 17, 31, 0.98));
}

.hero-card h1 {
  margin: 0 0 8px;
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  line-height: 1.15;
}

.subtitle {
  margin: 0 0 16px;
  color: var(--amber);
  font-weight: 700;
  font-size: 1.05rem;
}

.lead {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.content-card h1 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.content-card h2 {
  margin: 28px 0 10px;
  font-size: 1.15rem;
  color: var(--text);
}

.content-card h2:first-of-type {
  margin-top: 20px;
}

.content-card p,
.content-card li {
  color: var(--text-muted);
}

.content-card ul,
.content-card ol {
  padding-left: 1.25rem;
}

.content-card li + li {
  margin-top: 8px;
}

.meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.link-grid {
  display: grid;
  gap: 12px;
}

.link-card {
  display: block;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.link-card:hover {
  border-color: rgba(35, 136, 255, 0.55);
  transform: translateY(-1px);
  text-decoration: none;
}

.link-card strong {
  display: block;
  color: var(--text);
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.link-card span {
  color: var(--text-muted);
  font-size: 0.95rem;
}

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

.info-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(24, 54, 94, 0.6);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.info-list li:last-child {
  border-bottom: none;
}

.info-list dt {
  font-weight: 700;
  color: var(--text);
  min-width: 140px;
}

.info-list dd {
  margin: 0;
  color: var(--text-muted);
}

.callout {
  border-left: 3px solid var(--amber);
  background: var(--amber-soft);
  padding: 14px 16px;
  border-radius: 0 12px 12px 0;
  margin: 16px 0;
}

.callout p {
  margin: 0;
  color: var(--text);
}

.email-block {
  background: var(--primary-soft);
  border: 1px solid rgba(35, 136, 255, 0.35);
  border-radius: 12px;
  padding: 16px;
  margin: 16px 0;
  word-break: break-word;
}

.email-block code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.95rem;
  color: var(--text);
}

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 24px;
  padding: 28px 0 36px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0 0 8px;
}

.site-footer a {
  font-weight: 600;
}

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .hero-card,
  .content-card,
  .link-card {
    padding: 22px 18px;
  }
}

.hero-intro {
  margin: 0 0 16px;
  color: var(--text-muted);
}

.hero-intro strong {
  color: var(--text);
}

.contact-card {
  margin: 20px 0;
  padding: 20px 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(35, 136, 255, 0.4);
  background: rgba(16, 45, 85, 0.35);
}

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

.contact-label {
  margin: 0 0 4px;
  color: var(--amber);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-value {
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 600;
  overflow-wrap: anywhere;
  word-break: break-word;
  user-select: text;
  -webkit-user-select: text;
}

.contact-value a {
  color: var(--primary);
  font-weight: 700;
}

.contact-note {
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.request-info-grid {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.safe-info,
.warning-info {
  margin: 16px 0;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.safe-info {
  background: rgba(18, 214, 107, 0.06);
  border-color: rgba(18, 214, 107, 0.28);
}

.warning-info {
  background: rgba(255, 170, 0, 0.08);
  border-color: rgba(255, 170, 0, 0.3);
}

.safe-info h2,
.warning-info h2 {
  margin-top: 0;
  font-size: 1.05rem;
}

.safe-info ul,
.warning-info ul {
  margin-bottom: 0;
}

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

  .link-card:hover {
    transform: none;
  }
}
