:root {
  --bg: #f7f2ea;
  --ink: #2d1f15;
  --muted: #6b5a4d;
  --card: #ffffff;
  --line: rgba(45, 31, 21, 0.12);
  --r: 18px;
  --shadow: 0 20px 70px rgba(53, 38, 26, 0.12);
  --glow: 0 0 40px rgba(139, 107, 74, 0.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Josefin Sans', 'Segoe UI', system-ui, sans-serif;
  background: radial-gradient(circle at 20% 10%, rgba(233, 214, 188, 0.35), transparent 40%),
              radial-gradient(circle at 78% 8%, rgba(201, 173, 139, 0.32), transparent 38%),
              linear-gradient(160deg, #f9f4ed 0%, #f2e7d8 60%, #ecdfcf 100%);
  color: var(--ink);
  min-height: 100vh;
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem) 2.5rem;
  line-height: 1.7;
  position: relative;
  overflow-x: hidden;
}

.bg { display: none; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #f3e7d7, #e6d4bd);
  color: #7b5b3c;
  box-shadow: var(--glow);
  font-size: 1.1rem;
}

.name { color: var(--ink); font-size: 1.05rem; }

.links { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; }


.link {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  padding: 0.6rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 30px rgba(53, 38, 26, 0.08);
}

.pill, .ghost {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: 1px solid var(--line);
  color: var(--ink);
}

.pill {
  background: linear-gradient(135deg, #c9ad8b, #e6d4bd);
  box-shadow: 0 12px 32px rgba(123, 91, 60, 0.18);
}

.ghost {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 28px rgba(53, 38, 26, 0.12);
}

.pill:hover, .ghost:hover, .link:hover { transform: translateY(-1px); }

.page { max-width: 1180px; margin: 0 auto; position: relative; z-index: 2; }

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
  align-items: center;
  margin-bottom: 2.6rem;
}

.hero-text h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  margin: 0.4rem 0 0.8rem;
  letter-spacing: -0.02em;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 800;
}

.lede { color: var(--muted); max-width: 60ch; }

.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin: 1.1rem 0 0.7rem; }

.hero-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.8rem; }

.hero-tags span {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
}

.hero-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.4rem 1.3rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}

.hero-mini { display: flex; gap: 0.9rem; align-items: center; margin-top: 0.5rem; }

.mini-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c9ad8b, #8bbfa2);
  box-shadow: 0 0 0 9px rgba(201, 173, 139, 0.2);
}

.hero-mini h3 { margin: 0; font-size: 1.2rem; }
.hero-mini p { margin: 0.2rem 0 0; color: var(--muted); }

.mini-list { margin-top: 0.75rem; color: var(--muted); padding-left: 1.2rem; display: grid; gap: 0.3rem; }

.section-head { margin-bottom: 1.2rem; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.2rem); margin: 0.35rem 0; }

.gear-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

 .gear-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.1rem 1.1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  align-items: center;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.keyboard-card {
  position: relative;
  overflow: hidden;
}

.keyboard-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(255,255,255,0.25), rgba(255,255,255,0.25)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 260'%3E%3Crect width='400' height='260' fill='%23f7f2ea'/%3E%3Ccircle cx='200' cy='145' r='120' fill='%23fff'/%3E%3Cellipse cx='130' cy='95' rx='55' ry='48' fill='%23111111'/%3E%3Cellipse cx='270' cy='95' rx='55' ry='48' fill='%23111111'/%3E%3Cellipse cx='150' cy='155' rx='58' ry='46' fill='%23111111'/%3E%3Cellipse cx='250' cy='155' rx='58' ry='46' fill='%23111111'/%3E%3Ccircle cx='150' cy='150' r='22' fill='%23fff'/%3E%3Ccircle cx='250' cy='150' r='22' fill='%23fff'/%3E%3Ccircle cx='150' cy='150' r='9' fill='%23111111'/%3E%3Ccircle cx='250' cy='150' r='9' fill='%23111111'/%3E%3Cellipse cx='200' cy='185' rx='30' ry='20' fill='%23111111'/%3E%3Cpath d='M165 205c20 18 50 18 70 0' stroke='%23111111' stroke-width='12' stroke-linecap='round' fill='none'/%3E%3Cellipse cx='120' cy='56' rx='34' ry='30' fill='%23111111'/%3E%3Cellipse cx='280' cy='56' rx='34' ry='30' fill='%23111111'/%3E%3C/svg%3E");
  background-size: 140% auto;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.42;
  animation: pandaFloat 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pandaFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.gear-card:hover {
  transform: translateY(-3px);
  border-color: rgba(45, 31, 21, 0.2);
  box-shadow: 0 24px 70px rgba(53, 38, 26, 0.18);
}


.gear-illu {
  width: 112px;
  height: 112px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72));
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 30px rgba(201, 173, 139, 0.18), 0 12px 32px rgba(123, 91, 60, 0.16);
}

.gear-illu svg { width: 92px; height: 92px; }

.float { animation: floaty 5.5s ease-in-out infinite; }
.delay-1 { animation-delay: 0.8s; }
.delay-2 { animation-delay: 1.3s; }
.delay-3 { animation-delay: 1.8s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}

.gear-body h3 { margin: 0.2rem 0 0.35rem; }
.gear-body p { color: var(--muted); margin-bottom: 0.65rem; }

.tags { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.tags span {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 8px 20px rgba(53, 38, 26, 0.08);
}

@media (max-width: 720px) {
  .topbar { flex-direction: column; align-items: flex-start; }
  .gear-card { grid-template-columns: 1fr; }
  .gear-illu { width: 100%; height: 160px; }
  .gear-illu svg { width: 130px; height: 130px; }
}
