:root {
  --bg: #08111f;
  --bg-soft: #0f1b30;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --border: rgba(255, 255, 255, 0.14);
  --text: #eef3fb;
  --muted: rgba(238, 243, 251, 0.72);
  --accent: #f7c56a;
  --accent-2: #7dd3fc;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(125, 211, 252, 0.18), transparent 28%),
    radial-gradient(circle at 85% 0%, rgba(247, 197, 106, 0.16), transparent 24%),
    linear-gradient(180deg, #050a13 0%, var(--bg) 45%, #060b14 100%);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

.frame {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

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

.brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand span {
  color: var(--muted);
  font-size: 0.92rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.nav a {
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  transition: 180ms ease;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.hero {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)),
    linear-gradient(180deg, rgba(13, 22, 39, 0.96), rgba(8, 17, 31, 0.96));
  border-radius: calc(var(--radius) + 6px);
  padding: 42px;
  box-shadow: var(--shadow);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(125, 211, 252, 0.12), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(247, 197, 106, 0.12), transparent 24%);
  pointer-events: none;
}

.eyebrow {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.76rem;
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 46px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.hero h1,
.page h1 {
  position: relative;
  z-index: 1;
  margin: 12px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  max-width: 10ch;
}

.hero p {
  position: relative;
  z-index: 1;
  max-width: 68ch;
  color: var(--muted);
  font-size: 1.06rem;
  margin: 0;
}

.actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.actions .btn {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-weight: 700;
  transition: 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(247, 197, 106, 0.45);
  background: rgba(247, 197, 106, 0.1);
  color: var(--text);
}

.btn.primary {
  border-color: rgba(247, 197, 106, 0.35);
  background: linear-gradient(135deg, rgba(247, 197, 106, 0.95), rgba(125, 211, 252, 0.9));
  color: #09111f;
}

.btn.primary:hover {
  color: #09111f;
  background: linear-gradient(135deg, #f7c56a, #9ae6ff);
}

.section {
  margin-top: 22px;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(10px);
}

.card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

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

.card ul {
  margin: 12px 0 0;
  padding-left: 1.2rem;
}

.label {
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.page {
  margin-top: 14px;
}

.page h1 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
}

.page p,
.page li {
  color: var(--muted);
}

.notice {
  border-left: 3px solid var(--accent);
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(247, 197, 106, 0.08);
}

.form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font: inherit;
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(238, 243, 251, 0.45);
}

.field input[type="file"] {
  padding: 8px;
}

.field input[type="file"]::file-selector-button,
.field input[type="file"]::-webkit-file-upload-button {
  padding: 10px 16px;
  margin-right: 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: 180ms ease;
}

.field input[type="file"]::file-selector-button:hover,
.field input[type="file"]::-webkit-file-upload-button:hover {
  border-color: rgba(247, 197, 106, 0.45);
  background: rgba(247, 197, 106, 0.1);
}

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.check input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.foot {
  margin-top: 22px;
  color: rgba(238, 243, 251, 0.58);
  font-size: 0.92rem;
}

hr {
  border: 0;
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}

.sample {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  color: #dbeafe;
  white-space: pre-wrap;
}

@media (max-width: 840px) {
  .topbar,
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding: 28px 22px;
  }

  .grid.cols-2,
  .grid.cols-3 {
    grid-template-columns: 1fr;
  }
}
