:root {
  --navy: #0b1220;
  --blue: #2563eb;
  --gold: #d4a017;
  --paper: #f8fafc;
  --ink: #111827;
  --muted: #5b6472;
  --line: #dbe3ef;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.topbar { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: rgba(248,250,252,.94); backdrop-filter: blur(14px); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  letter-spacing: .01em;
}
.brand::before {
  content: "";
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 9px;
  background: url("/assets/djn-techcraft-icon.svg") center / contain no-repeat;
  box-shadow: 0 10px 22px rgba(11,18,32,.14);
}
.links { display: flex; gap: 22px; color: #334155; font-size: 14px; font-weight: 700; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 8px; border: 1px solid transparent; padding: 10px 16px; font-weight: 800; cursor: pointer; font: inherit; }
.primary { background: var(--blue); color: #fff; }
.secondary { background: #fff; color: var(--navy); border-color: var(--line); }
.gold { border-color: var(--gold); color: #fde68a; }
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.hero:before { content: ""; position: absolute; inset: 0; opacity: .22; background-image: linear-gradient(rgba(37,99,235,.65) 1px, transparent 1px), linear-gradient(90deg, rgba(37,99,235,.65) 1px, transparent 1px); background-size: 48px 48px; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; padding: 82px 0; align-items: center; }
.eyebrow { margin: 0; color: var(--gold); font-size: 13px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
h1,h2,h3 { margin: 0; line-height: 1.08; letter-spacing: 0; }
h1 { margin-top: 18px; font-size: clamp(40px, 7vw, 68px); }
h2 { font-size: clamp(30px, 4vw, 44px); }
h3 { font-size: 20px; }
.intro, .hero-copy { max-width: 760px; color: var(--muted); }
.hero-copy { margin-top: 22px; color: #cbd5e1; font-size: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.site-logo-card {
  display: grid;
  gap: 18px;
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
}
.site-logo-card img {
  width: min(100%, 520px);
  height: auto;
  display: block;
  padding: 14px;
  border: 2px solid rgba(248,250,252,.68);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(248,250,252,.14), rgba(212,160,23,.07));
  box-shadow:
    0 0 0 3px rgba(212,160,23,.28),
    0 22px 48px rgba(0,0,0,.46),
    0 0 34px rgba(37,99,235,.28);
}
.site-logo-card .divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,160,23,.72), transparent);
}
.feature-heading {
  color: #0b1220;
  font-size: 28px;
  background: rgba(248,250,252,.94);
  border: 1px solid rgba(226,232,240,.9);
  border-radius: 8px;
  padding: 12px 16px;
}
.feature-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 14px 16px;
  list-style: none;
  color: #020617;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.45;
  background: rgba(248,250,252,.94);
  border: 1px solid rgba(226,232,240,.9);
  border-radius: 8px;
}
.feature-list li {
  position: relative;
  padding-left: 22px;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #d4a017;
  box-shadow:
    0 0 0 2px rgba(212,160,23,.18),
    0 1px 4px rgba(0,0,0,.2);
}
section { padding: 72px 0; }
.grid { display: grid; gap: 18px; }
.five { grid-template-columns: repeat(5, 1fr); }
.three { grid-template-columns: repeat(3, 1fr); }
.two { grid-template-columns: repeat(2, 1fr); }
.four { grid-template-columns: repeat(4, 1fr); }
.card { border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 22px; box-shadow: 0 10px 28px rgba(15,23,42,.06); }
.card p { color: var(--muted); }
.metric span { display: block; color: var(--muted); font-weight: 750; }
.metric strong { display: block; margin-top: 8px; font-size: 32px; line-height: 1; }
.dark { background: var(--navy); color: #fff; }
.dark .card { background: rgba(255,255,255,.055); border-color: rgba(255,255,255,.11); box-shadow: none; }
.dark p { color: #cbd5e1; }
.price { margin-top: 18px; color: var(--gold); font-size: 20px; font-weight: 850; }
.notice { border-left: 4px solid var(--gold); background: #fffbeb; padding: 16px; color: #713f12; }
.help-text { margin: -6px 0 6px; color: var(--muted); font-size: 13px; }
.help-list { display: grid; gap: 10px; margin: 16px 0 0; padding-left: 22px; color: var(--muted); }
.muted-small { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
form { display: grid; gap: 14px; }
label { display: grid; gap: 7px; font-size: 14px; font-weight: 750; }
input, select, textarea { width: 100%; border: 1px solid #cbd5e1; border-radius: 8px; padding: 12px; color: var(--ink); font: inherit; }
textarea { min-height: 130px; resize: vertical; }
.terms-panel { display: grid; gap: 12px; border: 1px solid var(--line); border-radius: 8px; background: #f8fafc; padding: 16px; }
.terms-panel h2 { font-size: 22px; }
.terms-panel h3 { font-size: 18px; }
.terms-scroll { max-height: 260px; overflow-y: auto; border: 1px solid #cbd5e1; border-radius: 8px; background: #fff; padding: 14px; font-size: 14px; }
.terms-hint { margin: 0; color: var(--muted); font-size: 13px; }
.checkbox-line { display: block; }
.checkbox-line input { width: auto; margin-right: 8px; }
footer { background: #020617; color: #cbd5e1; padding: 42px 0; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 850;
}
.footer-brand img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 750;
}
.footer-links a {
  color: #e2e8f0;
  text-decoration: underline;
  text-decoration-color: rgba(212,160,23,.55);
  text-underline-offset: 4px;
}
.footer-links a:hover {
  color: #fff;
  text-decoration-color: var(--gold);
}
.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}
.faq-item h2 {
  font-size: 22px;
}
.faq-item p {
  margin-bottom: 0;
}
.admin-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); }
.admin-table th, .admin-table td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
@media (max-width: 900px) {
  .links { display: none; }
  .hero-grid, .five, .four, .three, .two { grid-template-columns: 1fr; }
}
