:root{
  --bg: #0d0f12;
  --panel: #12151b;
  --text: #e7e7e7;
  --muted: #a7a7a7;
  --line: rgba(255,255,255,0.08);
  --red: #c0322a;
  --gray: #6b7280;
  --shadow: 0 10px 30px rgba(0,0,0,0.35);
  --radius: 14px;
  --max: 1020px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }

body{
  margin: 0;
  background: radial-gradient(1200px 700px at 10% 0%, rgba(192,50,42,0.14), transparent 60%),
              radial-gradient(1000px 600px at 80% 10%, rgba(107,114,128,0.12), transparent 55%),
              var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
}

a{ color: inherit; text-decoration: none; }
a:hover{ color: #ffffff; }

.wrap{
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.site-header{
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: rgba(13,15,18,0.75);
  border-bottom: 1px solid var(--line);
  z-index: 10;
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand-title{
  font-family: Cinzel, serif;
  font-weight: 700;
  letter-spacing: 0.6px;
  font-size: 18px;
}

.brand-sub{
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.nav{
  display: flex;
  gap: 10px;
}

.nav-link{
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--muted);
  border: 1px solid transparent;
}

.nav-link:hover{
  color: var(--text);
  border-color: var(--line);
  background: rgba(255,255,255,0.03);
}

.nav-link.is-active{
  color: var(--text);
  border-color: rgba(192,50,42,0.35);
  background: rgba(192,50,42,0.08);
}

.main{
  padding: 28px 0 40px 0;
}

.hero{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent 55%), var(--panel);
  padding: 24px;
  box-shadow: var(--shadow);
}

.hero-title{
  font-family: Cinzel, serif;
  font-size: 34px;
  letter-spacing: 0.6px;
  margin: 0 0 8px 0;
}

.hero-text{
  margin: 0;
  color: var(--muted);
}

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

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  font-weight: 600;
}

.btn:hover{
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.14);
}

.btn.primary{
  border-color: rgba(192,50,42,0.5);
  background: rgba(192,50,42,0.16);
}

.section{
  margin-top: 22px;
}

.section-head{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 2px 10px 2px;
}

.section-title{
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.section-link{
  color: var(--muted);
  font-size: 13px;
}

.section-link:hover{
  color: var(--text);
}

.product-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 120ms ease;
}

.product:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.14);
}

.product-top{
  position: relative;
}

.product-img{
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  background: rgba(0,0,0,0.2);
}

.product-badge{
  position: absolute;
  left: 12px;
  top: 12px;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(192,50,42,0.45);
  background: rgba(192,50,42,0.16);
  color: var(--text);
  box-shadow: var(--shadow);
}

.product-body{
  padding: 14px;
  display: grid;
  gap: 8px;
}

.product-title{
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.product-desc{
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.page-title{
  margin: 0 0 6px 0;
  font-family: Cinzel, serif;
  font-size: 30px;
  letter-spacing: 0.4px;
}

.muted{
  color: var(--muted);
}

.prose{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
  padding: 18px;
}

.prose h2{
  margin: 18px 0 8px 0;
  font-size: 16px;
}

.prose p{
  margin: 0 0 10px 0;
  color: var(--muted);
}

.plain-list{
  margin: 10px 0 0 18px;
  color: var(--muted);
}

.footer{
  margin-top: 26px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

@media (max-width: 900px){
  .product-grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px){
  .header-inner{ flex-direction: column; align-items: flex-start; }
  .product-grid{ grid-template-columns: 1fr; }
}