:root {
  --navy: #241b2f;
  --navy-deep: #160f1d;
  --brass: #d9772e;
  --brass-light: #f0b84d;
  --ivory: #fbf3e4;
  --ivory-dim: #f3e4cc;
  --ink: #2a1f1a;
  --slate: #8a7361;
  --line: #e9d3ae;
  --good: #3e7a54;
  --clay: #a63d2c;

  --text: var(--ink);
  --text-muted: var(--slate);
  --bg: #ffffff;
  --bg-alt: var(--ivory);
  --border: var(--line);
  --radius: 14px;
  --max-width: 1160px;
  --shadow: 0 20px 50px -25px rgba(36, 27, 47, 0.35);

  --pattern-tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8'%3E%3Cpath d='M0,8 L7,0 L14,8' stroke='%23f0b84d' stroke-width='2' fill='none'/%3E%3Cpath d='M0,0 L7,8 L14,0' stroke='%23f0b84d' stroke-width='2' fill='none'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; }

.accent { color: var(--brass-light); }

.eyebrow {
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 700;
  margin: 0 0 10px;
}
.eyebrow.center { text-align: center; }

.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  font-size: 0.95rem;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--brass); color: #fff; }
.btn-primary:hover { background: #c2661f; }

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--brass); color: var(--brass); }

.btn-ghost-light {
  background: rgba(251, 243, 228, 0.08);
  border-color: rgba(251, 243, 228, 0.4);
  color: var(--ivory);
}
.btn-ghost-light:hover { border-color: var(--brass-light); color: var(--brass-light); }

.btn-lg { padding: 15px 30px; font-size: 1.05rem; }

/* Pattern strip divider */
.pattern-strip {
  height: 8px;
  width: 160px;
  margin: 24px auto;
  background-image: var(--pattern-tile);
  background-repeat: repeat-x;
  border-radius: 4px;
}
.pattern-strip-vertical {
  width: 8px;
  height: 100%;
  min-height: 240px;
  margin: 0 auto;
  background-image: var(--pattern-tile);
  background-repeat: repeat-y;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  margin-right: auto;
  color: var(--navy);
}

.logo-img { width: 34px; height: 34px; border-radius: 9px; object-fit: cover; }

.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--text-muted); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--brass); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--navy);
}

/* Hero */
.hero {
  position: relative;
  padding: 110px 0 80px;
  text-align: center;
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--ivory);
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  background: var(--navy-deep);
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.6s ease;
  animation: hero-kenburns 22s ease-in-out infinite;
}

.hero-slide.is-active {
  opacity: 0.6;
}

@keyframes hero-kenburns {
  0% { transform: scale(1); }
  50% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide { animation: none; }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22,15,29,0.75) 0%, rgba(22,15,29,0.88) 60%, rgba(22,15,29,0.96) 100%);
}

.hero-inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }

.hero .eyebrow { color: var(--brass-light); text-align: center; }

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  color: var(--ivory);
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(251, 243, 228, 0.85);
  margin-bottom: 0;
}

.hero-tag {
  font-size: 0.9rem;
  color: rgba(251, 243, 228, 0.75);
  margin-bottom: 2em;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Trust strip */
.trust-strip {
  background: var(--navy);
  padding: 28px 0;
}
.trust-row {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  text-align: center;
}
.trust-item strong {
  display: block;
  color: var(--brass-light);
  font-size: 1.3rem;
  margin-bottom: 2px;
}
.trust-item span {
  color: rgba(251, 243, 228, 0.8);
  font-size: 0.85rem;
}

/* Sections */
section { padding: 90px 0; }

.section-title { text-align: center; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--navy); }
.section-sub { text-align: center; color: var(--text-muted); max-width: 580px; margin: 0 auto 3em; }

/* Features */
.features { background: var(--bg-alt); }

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

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.feature-icon { font-size: 1.7rem; margin-bottom: 12px; }
.feature-card h3 { font-size: 1.05rem; color: var(--navy); }
.feature-card p { color: var(--text-muted); margin: 0; font-size: 0.95rem; }

/* Categories */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.category-card {
  position: relative;
  height: 140px;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22,15,29,0) 40%, rgba(22,15,29,0.85) 100%);
}

.category-card span {
  position: relative;
  z-index: 1;
  color: var(--ivory);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 14px;
}

/* Sell section */
.sell { background: var(--navy); color: var(--ivory); }
.sell .eyebrow { color: var(--brass-light); }
.sell h2 { color: var(--ivory); font-size: clamp(1.6rem, 3vw, 2.1rem); }
.sell-sub { color: rgba(251, 243, 228, 0.85); font-size: 1.05rem; margin-bottom: 1.6em; }

.sell-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.sell-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2em;
}
.sell-list li {
  padding: 12px 0;
  border-top: 1px solid rgba(251, 243, 228, 0.15);
  color: rgba(251, 243, 228, 0.9);
  font-size: 0.98rem;
}
.sell-list li:first-child { border-top: none; }
.sell-list strong { color: var(--brass-light); }

.sell-note {
  margin-top: 12px;
  font-size: 0.85rem;
  color: rgba(251, 243, 228, 0.7);
}

.sell-visual { display: flex; justify-content: center; padding: 20px 0; }

/* Download */
.download {
  text-align: center;
  background: var(--bg-alt);
}
.download-logo {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
  margin: 0 auto 20px;
  box-shadow: var(--shadow);
}
.download h2 { color: var(--navy); }
.download p { color: var(--text-muted); margin-bottom: 1.6em; }

.download-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.4em;
}

.download-note {
  max-width: 480px;
  margin: 0 auto;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--ivory-dim);
  border-radius: 10px;
  padding: 12px 16px;
}

/* FAQ */
.faq-list { max-width: 720px; margin: 0 auto; }

.faq-list details {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  position: relative;
  padding-right: 24px;
  color: var(--navy);
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2rem;
  color: var(--brass);
}

.faq-list details[open] summary::after { content: "\2212"; }

.faq-list p { color: var(--text-muted); margin: 12px 0 0; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  background: var(--navy-deep);
  color: var(--ivory);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }

.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: rgba(251, 243, 228, 0.75); font-size: 0.9rem; }
.footer-links a:hover { color: var(--brass-light); }

.footer-copy {
  width: 100%;
  text-align: center;
  color: rgba(251, 243, 228, 0.55);
  font-size: 0.82rem;
  margin: 20px 0 0;
}

/* Responsive */
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .sell-inner { grid-template-columns: 1fr; }
  .sell-visual { display: none; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border: 1px solid var(--border);
    border-top: none;
    box-shadow: var(--shadow);
    padding: 8px 24px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-top: 1px solid var(--border); }
  .nav-links a:first-child { border-top: none; }
  .nav-cta { display: none; }
  .menu-toggle { display: block; margin-left: auto; }
}

@media (max-width: 640px) {
  .feature-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 70px 0 56px; }
  section { padding: 56px 0; }
  .trust-row { gap: 24px 32px; }
}
