:root {
  color-scheme: light;
  --bg: #f7efe5;
  --bg-2: #e6f0f1;
  --ink: #1e1b16;
  --muted: #6c6158;
  --accent: #ff6b4a;
  --accent-2: #2b6d6f;
  --card: rgba(255, 255, 255, 0.85);
  --stroke: rgba(30, 27, 22, 0.12);
  --shadow: 0 24px 60px rgba(30, 27, 22, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  background: linear-gradient(140deg, #fbe8c9 0%, var(--bg) 45%, var(--bg-2) 100%);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: "Fraunces", serif;
  margin: 0 0 0.5rem;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 4vw 5rem;
}

.orb {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(0px);
  opacity: 0.45;
  z-index: 0;
  animation: float 18s ease-in-out infinite;
}

.orb-one {
  background: radial-gradient(circle at 30% 30%, #ffd4a3, transparent 70%);
  top: -120px;
  left: -140px;
}

.orb-two {
  background: radial-gradient(circle at 40% 40%, #b5e4d8, transparent 68%);
  right: -160px;
  bottom: -140px;
  animation-delay: -6s;
}

.grid-lines {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(30, 27, 22, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 27, 22, 0.04) 1px, transparent 1px);
  background-size: 120px 120px;
  pointer-events: none;
  z-index: 0;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 4vw 0.5rem;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 600;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.brand-name {
  font-size: 1.05rem;
}

.brand-sub {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.top-nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 14px 30px rgba(30, 27, 22, 0.2);
}

.btn.primary:hover {
  transform: translateY(-2px);
}

.btn.ghost {
  border-color: var(--stroke);
  background: rgba(255, 255, 255, 0.6);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: center;
  padding-top: 2rem;
  position: relative;
  z-index: 1;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 4vw, 3.8rem);
  line-height: 1.05;
}

.eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--accent-2);
  margin-bottom: 1rem;
}

.subhead {
  margin-top: 1rem;
  max-width: 540px;
}

.cta-row {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.meta {
  margin-top: 1.2rem;
  font-size: 0.85rem;
}

.latest-card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
  animation: fadeUp 0.8s ease both;
}

.card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.card-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0;
}

.card-sub {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.3rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 107, 74, 0.12);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
}

.loading {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.pulse {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(30, 27, 22, 0.08);
  animation: pulse 1.6s ease-in-out infinite;
}

.loading-line {
  width: 180px;
  height: 12px;
  border-radius: 999px;
  background: rgba(30, 27, 22, 0.08);
  margin-bottom: 10px;
  animation: pulse 1.6s ease-in-out infinite;
}

.loading-line.short {
  width: 120px;
}

.section-head {
  margin: 4rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

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

.user-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--stroke);
  border-radius: 24px;
  padding: 1.6rem;
  box-shadow: 0 10px 30px rgba(30, 27, 22, 0.08);
}

.user-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.5rem;
}

.user-card li::before {
  content: "•";
  color: var(--accent);
  margin-right: 0.5rem;
}

.release-feed {
  margin-top: 4rem;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.filter-btn {
  border-radius: 999px;
  border: 1px solid var(--stroke);
  padding: 0.5rem 1.2rem;
  background: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  font-weight: 600;
  color: var(--muted);
  transition: all 0.2s ease;
}

.filter-btn.is-active {
  background: var(--ink);
  color: #fff;
  border-color: transparent;
}

.status {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.release-list {
  display: grid;
  gap: 1.5rem;
}

.release-card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 24px;
  padding: 1.6rem;
  box-shadow: 0 16px 40px rgba(30, 27, 22, 0.1);
  display: grid;
  gap: 1rem;
}

.release-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.release-tag {
  font-size: 0.85rem;
  color: var(--muted);
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  font-size: 0.75rem;
  color: var(--muted);
}

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

.asset-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 1rem;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.asset-btn span {
  color: var(--muted);
  font-size: 0.78rem;
}

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

.step {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--stroke);
  border-radius: 22px;
  padding: 1.4rem;
}

.step-num {
  font-weight: 700;
  color: var(--accent-2);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 4vw 3rem;
  font-size: 0.9rem;
  color: var(--muted);
  position: relative;
  z-index: 2;
}

.footer a {
  color: var(--accent-2);
}

@keyframes float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, 20px, 0);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 0.9;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .top-nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 720px) {
  .top-nav {
    display: none;
  }

  main {
    padding: 1.5rem 6vw 4rem;
  }

  .hero {
    padding-top: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
