:root {
  --primary: #d7ff17;
  --secondary: #e3ff45;
  --text: #f7f7ef;
  --text-muted: #d8dfdf;
  --bg: #050607;
  --surface: rgba(21, 26, 30, 0.96);
  --surface-soft: #151a1e;
  --border: rgba(247, 247, 239, 0.12);
  --shadow: 0 20px 48px rgba(5, 6, 7, 0.45);
  --bg-gradient: var(--bg);
}

[data-theme-toggle] {
  display: none !important;
}

html[data-theme="dark"] {
  --text: #f7f7ef;
  --text-muted: #d8dfdf;
  --bg: #050607;
  --surface: rgba(21, 26, 30, 0.96);
  --surface-soft: #151a1e;
  --border: rgba(247, 247, 239, 0.12);
  --shadow: 0 20px 48px rgba(5, 6, 7, 0.45);
  --bg-gradient: var(--bg);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: var(--bg-gradient);
  min-height: 100vh;
  padding: 36px 20px 60px;
  transition: background 0.2s ease, color 0.2s ease;
}

h1,
h2 {
  font-family: "Urbanist", sans-serif;
  letter-spacing: -0.02em;
}

.ambient {
  display: none;
}

.ambient-a {
  width: 340px;
  height: 340px;
  top: -100px;
  left: -50px;
  background: rgba(215, 255, 23, 0.55);
}

.ambient-b {
  width: 380px;
  height: 380px;
  right: -100px;
  bottom: -140px;
  background: rgba(227, 255, 69, 0.48);
}

.shell {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

.hero {
  max-width: 820px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 22px;
  position: relative;
}

.hero::before {
  content: none;
  position: absolute;
  top: 22px;
  left: 22px;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: url("/brand/FAVI-DARK.png") center / contain no-repeat;
}

.surface-brand-logo {
  width: 42px;
  height: 42px;
  display: block;
  margin-bottom: 16px;
  object-fit: contain;
}

html[data-theme="dark"] .hero::before {
  background-image: url("/brand/FAVI-DARK.png");
}

.eyebrow {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 3.1rem);
  line-height: 1.04;
}

.hero p {
  color: var(--text-muted);
  margin: 12px 0 0;
  font-size: 1rem;
  max-width: 70ch;
}

.hero-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.switchboard {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.surface-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.surface-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
  opacity: 0.8;
}

.kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-size: 1.42rem;
}

.surface-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.surface-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text);
  font-size: 13px;
  display: grid;
  gap: 6px;
}

.btn {
  width: fit-content;
  text-decoration: none;
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--surface-soft);
  border-radius: 8px;
  padding: 9px 14px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}

.btn.primary {
  background: var(--primary);
  color: #050607;
  border-color: rgba(5, 6, 7, 0.12);
}

.btn.ghost {
  background: transparent;
}

.theme-toggle {
  min-width: 122px;
}

.theme-toggle.theme-toggle-icon-btn {
  display: inline-flex;
  align-items: center;
  min-width: 36px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  padding: 0;
  justify-content: center;
}

.theme-toggle-icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-toggle-icon-moon {
  stroke: none;
  fill: currentColor;
}

@media (max-width: 900px) {
  .switchboard {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    padding: 20px 12px 40px;
  }

  .hero,
  .surface-card {
    border-radius: 16px;
    padding: 14px;
  }
}
