/* Midi Puppet — dark synth-console marketing site */
@import url("site-panels.css");

:root {
  --bg: #0a0c12;
  --bg-elevated: #12161f;
  --bg-card: #161b28;
  --bg-card-hover: #1b2233;
  --border: #2a3344;
  --border-glow: rgba(255, 176, 32, 0.35);
  --text: #e8ecf4;
  --muted: #9aa6bc;
  --accent: #ffb020;
  --accent-hot: #ffc857;
  --accent-deep: #e8890c;
  --accent-soft: rgba(255, 176, 32, 0.14);
  --violet: #8b6cff;
  --violet-soft: rgba(124, 92, 255, 0.14);
  --teal: #3dd6c6;
  --radius: 16px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --max: 1120px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(1000px 520px at 12% -8%, rgba(255, 176, 32, 0.16), transparent 55%),
    radial-gradient(900px 480px at 92% 0%, rgba(124, 92, 255, 0.12), transparent 50%),
    linear-gradient(rgba(255, 176, 32, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 176, 32, 0.03) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;
  background-attachment: fixed;
  line-height: 1.65;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-hot); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #ffe0a0; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -3rem;
  background: var(--accent);
  color: #0a0c12;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  z-index: 1000;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px) saturate(1.2);
  background: rgba(10, 12, 18, 0.86);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.brand:hover { color: var(--text); }
.brand-logo {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 11px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255,176,32,0.35), 0 6px 18px rgba(0,0,0,0.4);
  background: #000;
}
.brand-text {
  font-size: 1.05rem;
}
.brand-text em {
  font-style: normal;
  color: var(--accent);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.1rem;
  flex-wrap: wrap;
}
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.4rem 0.15rem;
  transition: color 0.15s ease;
}
.site-nav a:hover, .site-nav a.is-active { color: var(--text); }
.site-nav a.is-active {
  box-shadow: inset 0 -2px 0 var(--accent);
}

.nav-toggle {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--accent-hot), var(--accent-deep));
  color: #0a0c12 !important;
  text-decoration: none !important;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 28px rgba(232, 137, 12, 0.28);
  transition: filter 0.15s ease, transform 0.15s ease;
}
.btn:hover { filter: brightness(1.06); color: #0a0c12 !important; }
.btn:active { transform: translateY(1px); }
.btn-secondary {
  background: transparent;
  border-color: var(--border);
  color: var(--text) !important;
  box-shadow: none;
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent-hot) !important;
  filter: none;
}
.btn-small {
  padding: 0.48rem 0.95rem;
  font-size: 0.88rem;
  box-shadow: 0 4px 14px rgba(232, 137, 12, 0.22);
}
