:root {
  --bg: #13181A;
  --surface: #1C2326;
  --frame: #2A3336;
  --ink: #E7EDE9;
  --muted: #9AA7A2;
  --muted-soft: #6E7A76;
  --line: #303A3D;
  --accent: #4FBF9F;
  --accent-ink: #06211B;
  --accent-soft: #1B3630;
  --highlight: #D9B564;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);

  --c-tally: #C08A34;
  --c-tally-soft: #35291A;
  --c-wobble: #D68089;
  --c-wobble-soft: #34222A;
  --c-faith: #6C8EBF;
  --c-faith-soft: #202B38;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Georgia', 'Iowan Old Style', 'Palatino Linotype', serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.sans {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Background texture ---------- */
.bg-scene {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(600px 420px at 12% -5%, var(--accent-soft), transparent 60%),
    radial-gradient(560px 460px at 105% 15%, rgba(217, 181, 100, 0.16), transparent 55%),
    var(--bg);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.45;
  animation: float 18s ease-in-out infinite;
}

.blob-1 { width: 360px; height: 360px; left: -120px; top: 6%; background: radial-gradient(circle at 35% 35%, var(--c-tally), transparent 70%); animation-duration: 20s; }
.blob-2 { width: 300px; height: 300px; right: -100px; top: 30%; background: radial-gradient(circle at 35% 35%, var(--c-wobble), transparent 70%); animation-duration: 23s; animation-delay: -4s; }
.blob-3 { width: 260px; height: 260px; left: 6%; bottom: 4%; background: radial-gradient(circle at 35% 35%, var(--c-faith), transparent 70%); animation-duration: 26s; animation-delay: -9s; }
.blob-4 { width: 220px; height: 220px; right: 10%; bottom: -60px; background: radial-gradient(circle at 35% 35%, var(--accent), transparent 70%); animation-duration: 19s; animation-delay: -12s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(24px, -30px) scale(1.06); }
  66% { transform: translate(-18px, 18px) scale(0.96); }
}

@media (prefers-reduced-motion: reduce) {
  .blob { animation: none !important; }
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(19, 24, 26, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.brand .mark {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.brand .mark svg { width: 100%; height: 100%; }

.mark-sm { width: 28px; height: 28px; }

.nav-pill {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
}

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--highlight);
  margin-bottom: 22px;
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.12;
  margin: 0 0 22px;
  max-width: 15ch;
  font-weight: 400;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.lede {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 56ch;
  margin: 0 0 34px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  letter-spacing: 0.04em;
  border-radius: 999px;
  padding: 13px 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
}

/* ---------- Sections ---------- */
section { padding: 72px 0; }

.section-head {
  max-width: 60ch;
  margin: 0 0 44px;
}

.kicker {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 400;
  line-height: 1.25;
  margin: 0 0 12px;
}

.section-head p {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* ---------- Product cards ---------- */
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--card-accent, var(--accent));
}

.product-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.product-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 19px;
  background: var(--card-soft);
  color: var(--card-accent);
  flex: none;
}

.product-mark svg, .product-mark img {
  width: 100%;
  height: 100%;
  display: block;
}

.status {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
}

.status.live {
  color: var(--card-accent);
  border-color: var(--card-accent);
}

.product-card h3 {
  font-size: 1.3rem;
  font-weight: 400;
  margin: 0;
}

.product-card p {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
  flex: 1;
}

.product-link {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--card-accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.product-card.is-tally { --card-accent: var(--c-tally); --card-soft: var(--c-tally-soft); }
.product-card.is-wobble { --card-accent: var(--c-wobble); --card-soft: var(--c-wobble-soft); }
.product-card.is-faith { --card-accent: var(--c-faith); --card-soft: var(--c-faith-soft); }

/* ---------- Values ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
}

.icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.icon-wrap svg { width: 20px; height: 20px; }

.c-accent { background: var(--accent-soft); color: var(--accent); }
.c-tally { background: var(--c-tally-soft); color: var(--c-tally); }
.c-wobble { background: var(--c-wobble-soft); color: var(--c-wobble); }
.c-faith { background: var(--c-faith-soft); color: var(--c-faith); }

.card h3 {
  font-size: 1.1rem;
  font-weight: 400;
  margin: 0 0 8px;
}

.card p {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
  margin: 0;
}

/* ---------- Band ---------- */
.band {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 48px;
}

.band h2 {
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  font-weight: 400;
  margin: 0 0 16px;
}

.band p {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--muted);
  line-height: 1.65;
  max-width: 68ch;
  margin: 0 0 18px;
}

.signature {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--highlight);
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
}

.footer-meta {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.86rem;
  color: var(--muted-soft);
  text-align: right;
}

.footer-meta a { color: var(--muted); text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .products { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .band { padding: 32px; }
}

@media (max-width: 640px) {
  .hero { padding: 72px 0 56px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-meta { text-align: left; }
}
