:root {
  --bg: #0b1220;
  --bg-2: #0e172a;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(148, 163, 184, 0.18);
  --border-2: rgba(148, 163, 184, 0.26);
  --text: #e5e7eb;
  --muted: rgba(226, 232, 240, 0.72);
  --muted-2: rgba(226, 232, 240, 0.56);
  --brand: #60a5fa;
  --brand-2: #93c5fd;
  --ok: #34d399;
  --warn: #fbbf24;
  --err: #fb7185;

  --shadow: 0 18px 55px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 12px 35px rgba(0, 0, 0, 0.35);

  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 20px;

  --container: 1120px;
  --gutter: 20px;
  --section-pad: clamp(56px, 6vw, 92px);

  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
    "Apple Color Emoji", "Segoe UI Emoji";
}

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

html {
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: var(--font);
  background: radial-gradient(1200px 600px at 20% -10%, rgba(96, 165, 250, 0.18), transparent 60%),
    radial-gradient(900px 500px at 80% 0%, rgba(52, 211, 153, 0.08), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
  color: var(--text);
  line-height: 1.5;
  position: relative;
}

/* Subtle mountain backdrop (CSS-only, no extra assets) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.55;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 1400px 520px;
  filter: blur(0.2px);
  /* Inline SVG ridge line + soft fill; tuned for dark theme */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1400' height='520' viewBox='0 0 1400 520'%3E%3Cdefs%3E%3CradialGradient id='g' cx='50%25' cy='0%25' r='90%25'%3E%3Cstop offset='0%25' stop-color='%2393C5FD' stop-opacity='0.14'/%3E%3Cstop offset='55%25' stop-color='%2360A5FA' stop-opacity='0.08'/%3E%3Cstop offset='100%25' stop-color='%230B1220' stop-opacity='0'/%3E%3C/radialGradient%3E%3ClinearGradient id='f' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0%25' stop-color='%23FFFFFF' stop-opacity='0.06'/%3E%3Cstop offset='100%25' stop-color='%23FFFFFF' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='1400' height='520' fill='url(%23g)'/%3E%3Cpath d='M0 430 C 120 380 220 360 320 390 C 420 420 520 340 620 360 C 720 380 820 300 920 330 C 1020 360 1120 290 1220 320 C 1320 350 1380 340 1400 332 L 1400 520 L 0 520 Z' fill='url(%23f)'/%3E%3Cpath d='M0 430 C 120 380 220 360 320 390 C 420 420 520 340 620 360 C 720 380 820 300 920 330 C 1020 360 1120 290 1220 320 C 1320 350 1380 340 1400 332' fill='none' stroke='%2393C5FD' stroke-opacity='0.14' stroke-width='2'/%3E%3Cpath d='M0 455 C 140 420 260 430 360 452 C 460 474 560 410 660 420 C 760 430 860 392 960 410 C 1060 428 1180 400 1280 412 C 1360 420 1390 418 1400 414' fill='none' stroke='%2334D399' stroke-opacity='0.08' stroke-width='2'/%3E%3C/svg%3E");
}

/* A touch of top “atmosphere” grain to keep it organic */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.08;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

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

a {
  color: inherit;
  text-decoration-color: rgba(147, 197, 253, 0.5);
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-color: rgba(147, 197, 253, 0.85);
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New",
    monospace;
  font-size: 0.95em;
}

.skip-link {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 9999;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border-2);
  background: rgba(15, 23, 42, 0.95);
  color: var(--text);
  transform: translateY(-140%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
  outline: none;
}

:focus-visible {
  outline: 3px solid rgba(96, 165, 250, 0.7);
  outline-offset: 3px;
}

.container {
  width: min(var(--container), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(11, 18, 32, 0.6);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 14px;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  min-width: 240px;
}

.brand-logo {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-name {
  font-weight: 650;
  letter-spacing: -0.01em;
  font-size: 0.98rem;
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
}

.nav-link:hover {
  color: var(--text);
  border-color: rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.02);
}

.hero {
  padding: clamp(56px, 7vw, 96px) 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 26px;
  align-items: start;
}

.hero-copy h1 {
  margin: 10px 0 0;
  font-size: clamp(2.1rem, 3.2vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.lede {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 60ch;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(96, 165, 250, 0.26);
  background: rgba(96, 165, 250, 0.08);
  color: rgba(226, 232, 240, 0.92);
  font-size: 0.9rem;
  font-weight: 600;
}

.badge-soft {
  border-color: rgba(148, 163, 184, 0.24);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-weight: 600;
}

.hero-actions {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.meta-row {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.meta-item {
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.meta-label {
  display: block;
  font-size: 0.82rem;
  color: var(--muted-2);
  margin-bottom: 4px;
}

.meta-value {
  display: inline-block;
  font-size: 0.95rem;
  color: rgba(226, 232, 240, 0.94);
}

.section {
  padding: var(--section-pad) 0;
}

.section-alt {
  background: rgba(15, 23, 42, 0.36);
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2vw, 2rem);
  letter-spacing: -0.01em;
}

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

.small {
  font-size: 0.92rem;
}

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

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

.card {
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow-soft);
  padding: 18px;
}

.hero-card {
  position: sticky;
  top: 86px;
}

.card-title {
  margin: 0 0 12px;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
}

.card-actions {
  margin-top: 14px;
}

.helper {
  margin: 12px 0 0;
  color: var(--muted-2);
  font-size: 0.9rem;
}

.btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: 650;
  letter-spacing: -0.01em;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 120ms ease, background-color 120ms ease, border-color 120ms ease,
    box-shadow 120ms ease;
  user-select: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(180deg, rgba(96, 165, 250, 0.95), rgba(37, 99, 235, 0.95));
  border-color: rgba(96, 165, 250, 0.35);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.22);
}

.btn-primary:hover {
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.28);
}

.btn-ghost {
  border-color: rgba(148, 163, 184, 0.22);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(226, 232, 240, 0.92);
}

.btn-ghost:hover {
  border-color: rgba(148, 163, 184, 0.34);
  background: rgba(255, 255, 255, 0.05);
}

.btn-sm {
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 0.95rem;
}

.btn[disabled] {
  cursor: not-allowed;
  opacity: 0.65;
}

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

.stack {
  display: grid;
  gap: 12px;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.checklist li {
  position: relative;
  padding-left: 28px;
  color: rgba(226, 232, 240, 0.92);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 18px;
  height: 18px;
  border-radius: 7px;
  background: rgba(52, 211, 153, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.35);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.06);
}

.checklist li::after {
  content: "✓";
  position: absolute;
  left: 4px;
  top: 0.18em;
  font-size: 0.9rem;
  color: rgba(52, 211, 153, 0.95);
}

.checklist-x li::before {
  background: rgba(251, 113, 133, 0.12);
  border-color: rgba(251, 113, 133, 0.32);
  box-shadow: 0 0 0 4px rgba(251, 113, 133, 0.05);
}

.checklist-x li::after {
  content: "×";
  left: 6px;
  top: 0.1em;
  font-size: 1.1rem;
  color: rgba(251, 113, 133, 0.95);
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 16px 16px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(255, 255, 255, 0.03);
}

.step-num {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 750;
  background: rgba(96, 165, 250, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.28);
  color: rgba(226, 232, 240, 0.95);
}

.step-title {
  margin: 0;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.step-body p {
  margin: 6px 0 0;
}

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  padding: 26px 0;
  background: rgba(11, 18, 32, 0.6);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-left,
.footer-right {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.sep {
  margin: 0 10px;
  color: rgba(148, 163, 184, 0.45);
}

/* Modal */
.modal[aria-hidden="true"] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 22px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.72);
}

.modal-panel {
  position: relative;
  width: min(860px, 100%);
  max-height: min(86vh, 900px);
  overflow: auto;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.78));
  box-shadow: var(--shadow);
  padding: 18px;
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.modal-title {
  margin: 10px 0 0;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}

.icon-btn {
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(226, 232, 240, 0.92);
  border-radius: 14px;
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}

.icon-btn:hover {
  border-color: rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.05);
}

/* Form */
.form {
  margin-top: 10px;
}

.rule {
  border: none;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  margin: 16px 0;
}

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

.field label {
  font-weight: 650;
  font-size: 0.95rem;
  color: rgba(226, 232, 240, 0.92);
}

.req {
  color: rgba(147, 197, 253, 0.95);
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 12px 12px;
  font: inherit;
}

select {
  padding-right: 34px;
}

textarea {
  resize: vertical;
  min-height: 110px;
}

input::placeholder,
textarea::placeholder {
  color: rgba(226, 232, 240, 0.44);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(96, 165, 250, 0.55);
  box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.14);
}

.field.checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.9);
}

.field.checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.field-span {
  grid-column: 1 / -1;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.form-status {
  margin-top: 12px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(226, 232, 240, 0.92);
}

.form-status.is-success {
  border-color: rgba(52, 211, 153, 0.28);
  background: rgba(52, 211, 153, 0.08);
}

.form-status.is-error {
  border-color: rgba(251, 113, 133, 0.32);
  background: rgba(251, 113, 133, 0.08);
}

.form-status.is-info {
  border-color: rgba(96, 165, 250, 0.28);
  background: rgba(96, 165, 250, 0.08);
}

/* Mobile */
@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-card {
    position: static;
  }
  .meta-row {
    grid-template-columns: 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .field-span {
    grid-column: auto;
  }
  .modal-panel {
    padding: 16px;
  }
}


