:root {
  --orange: #ff7a00;
  --orange-2: #ff8f2b;
  --bg: #0e0f10;
  --card: #15171a;
  --text: #ececec;
  --muted: #b7b7b7;
  --line: #26282c;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1 0 auto; }

body {
  background: radial-gradient(1200px 600px at 80% -10%, rgba(255,122,0,0.06), transparent 60%) no-repeat, var(--bg);
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.topbar { display: none; }
.logo-box {
  position: absolute;
  left: 0;
  top: 0;
  width: auto;
  height: 96px;
  border: none;
  background: transparent;
  z-index: 2;
}
.logo-box img { height: 100%; width: auto; display: block; margin: 0; image-rendering: auto; object-fit: contain; filter: none; }

.navwrap {
  position: sticky;
  top: 0;
  z-index: 19;
  padding: 0;
  background: var(--bg);
  border-bottom: none !important;
}
.navwrap .container { position: relative; display: flex; align-items: center; gap: 8px; padding-left: 124px; padding-right: 20px; min-height: 48px; }
.menu {
  list-style: none;
  margin: 0;
  padding: 4px 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  flex: 1 1 auto;
  background: var(--card);
  border: none !important;
  border-radius: 14px;
  overflow: auto;
}
.menu li.push-right { margin-left: auto; }
.menu a {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 12px;
  border: none !important;
  color: var(--text);
  text-decoration: none;
  background: linear-gradient(180deg, rgba(255,122,0,0.14), rgba(255,122,0,0.08));
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .06s ease;
}
.menu a:hover {
  background: color-mix(in oklab, var(--orange) 22%, black 78%);
  border: none !important;
}
.menu a.active {
  background: var(--orange);
  color: #111;
  border: none !important;
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--orange) 20%, transparent);
}

.hero { padding: 56px 0 28px; }
.hero h1 { margin: 0 0 8px; font-size: clamp(2rem, 4vw + 0.5rem, 3rem); letter-spacing: -0.5px; }
.hero p { margin: 0 0 18px; color: var(--muted); max-width: 60ch; }

.cta {
  display: inline-block;
  padding: 10px 16px;
  background: var(--orange);
  color: #111;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid color-mix(in oklab, var(--orange-2) 70%, black 30%);
  transition: transform .06s ease, box-shadow .15s ease;
}
.cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(255,122,0,0.2); }

.section { padding: 44px 0; border-top: 1px solid var(--line); }
.section h2 { margin: 0 0 10px; font-size: clamp(1.25rem, 2.2vw + .4rem, 1.8rem); }
.section p { margin: 0; color: var(--muted); max-width: 75ch; }

/* form */
.form { display: grid; gap: 14px; max-width: 640px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid color-mix(in oklab, var(--orange) 45%, var(--line) 55%);
  background:
    linear-gradient(90deg, color-mix(in oklab, var(--orange) 35%, transparent), rgba(21,23,26,0) 45%),
    var(--card);
  color: var(--text);
  outline: none;
  transition: border-color .2s ease, box-shadow .15s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: color-mix(in oklab, var(--muted) 85%, white 15%); }
.field input:focus,
.field textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--orange) 25%, transparent);
}
.row { display: flex; gap: 12px; }
.row .field { flex: 1; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid color-mix(in oklab, var(--orange-2) 70%, black 30%);
  background: var(--orange);
  color: #111;
  text-decoration: none;
  cursor: pointer;
  transition: transform .06s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(255,122,0,0.2); }

.status { font-size: .95rem; }
.hp { display: none !important; }

/* DeBAID page */
.baid-wrap { position: relative; min-height: 60vh; }
.baid-rail {
  position: sticky;
  top: 96px;
  float: right;
  display: inline-grid;
  grid-auto-rows: min-content;
  gap: 8px;
  align-items: start;
}
.baid-letter {
  font-weight: 800;
  font-size: clamp(2rem, 6vw + .8rem, 4rem);
  line-height: 1;
}
.baid-desc { margin-left: 8px; color: var(--muted); font-size: .95rem; }

.shiny {
  background: linear-gradient(90deg, #fff, #ffd199, #ff7a00, #ffd199, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 4s linear infinite;
  background-size: 400% 100%;
}
@keyframes shine {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 18px 0 40px; color: var(--muted); }

@media (max-width: 640px) {
  .menu { gap: 6px; padding: 6px; }
  .menu a { height: 34px; padding: 0 12px; }
}
