:root {
  --bg: #17140F;
  --surface: #241F19;
  --frame: #332C22;
  --ink: #EDE4D5;
  --muted: #A79C89;
  --muted-soft: #7C7261;
  --line: #3A3226;
  --accent: #D68089;
  --accent-ink: #221116;
  --accent-soft: #3A2529;
  --highlight: #D9B564;
  --ph-a1: #C98A5E;
  --ph-a2: #A85560;
  --ph-b1: #8B6F8C;
  --ph-b2: #5F7A70;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
}

* { 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(199, 162, 74, 0.22), transparent 55%),
    var(--bg);
}

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

.blob-1 { width: 360px; height: 360px; left: -120px; top: 8%; background: radial-gradient(circle at 35% 35%, var(--ph-a1), transparent 70%); animation-duration: 19s; }
.blob-2 { width: 300px; height: 300px; right: -100px; top: 32%; background: radial-gradient(circle at 35% 35%, var(--ph-b1), transparent 70%); animation-duration: 22s; animation-delay: -4s; }
.blob-3 { width: 260px; height: 260px; left: 8%; bottom: 6%; background: radial-gradient(circle at 35% 35%, var(--ph-b2), transparent 70%); animation-duration: 25s; animation-delay: -9s; }
.blob-4 { width: 220px; height: 220px; right: 12%; bottom: -60px; background: radial-gradient(circle at 35% 35%, var(--accent), transparent 70%); animation-duration: 18s; 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, .heart, .orbit, .node, .string { animation: none !important; }
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  box-shadow: 0 4px 14px -4px rgba(42, 37, 30, 0.4);
}

.brand span {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--ink);
}

.nav-pill {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  border-radius: 999px;
  padding: 7px 14px;
  white-space: nowrap;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 72px 0 40px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.hero h1 {
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.08;
  margin: 0 auto 20px;
  max-width: 820px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

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

.hero p.lede {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: clamp(15px, 2vw, 18px);
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: default;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 12px 26px -10px color-mix(in srgb, var(--accent) 70%, transparent);
}

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

/* ---------- Constellation graphic ---------- */
.constellation {
  position: relative;
  width: 100%;
  max-width: 620px;
  height: 300px;
  margin: 56px auto 8px;
}

.constellation svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.string {
  stroke: color-mix(in srgb, var(--accent) 45%, transparent);
  stroke-width: 1.5;
  fill: none;
  stroke-dasharray: 4 6;
  animation: dash 30s linear infinite;
}

@keyframes dash {
  to { stroke-dashoffset: -400; }
}

.node {
  position: absolute;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  animation: bob 6s ease-in-out infinite;
}

.node img { width: 60%; height: 60%; object-fit: contain; opacity: 0.9; }

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

.node-1 { width: 92px; height: 92px; left: 4%; top: 18%; background: linear-gradient(135deg, var(--ph-a1), var(--ph-a2)); animation-delay: 0s; }
.node-2 { width: 76px; height: 76px; right: 6%; top: 4%; background: linear-gradient(135deg, var(--ph-b1), var(--ph-b2)); animation-delay: -1.5s; }
.node-3 { width: 64px; height: 64px; right: 14%; bottom: 8%; background: linear-gradient(135deg, var(--highlight), var(--ph-a1)); animation-delay: -3s; }
.node-4 { width: 100px; height: 100px; left: 50%; top: 50%; transform: translate(-50%, -50%); background: var(--surface); border: 1px solid var(--line); box-shadow: 0 24px 50px -18px rgba(42,37,30,0.35); animation: none; }
.node-4 img { width: 62%; height: 62%; }

.heart {
  position: absolute;
  color: var(--accent);
  opacity: 0.85;
  animation: rise 7s ease-in infinite;
}

.heart-1 { left: 20%; bottom: 30%; font-size: 18px; animation-delay: 0s; }
.heart-2 { right: 26%; bottom: 40%; font-size: 13px; animation-delay: -2.3s; color: var(--highlight); }
.heart-3 { left: 44%; top: 12%; font-size: 15px; animation-delay: -4.6s; }

@keyframes rise {
  0% { transform: translateY(10px) scale(0.8); opacity: 0; }
  15% { opacity: 0.9; }
  100% { transform: translateY(-70px) scale(1.1); opacity: 0; }
}

/* ---------- Sections ---------- */
section { position: relative; padding: 64px 0; }

.section-head { text-align: center; max-width: 620px; margin: 0 auto 44px; }

.section-head .kicker {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(26px, 4vw, 36px);
  margin: 0 0 12px;
  font-weight: 700;
}

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

/* Feature grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 22px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}

.card:hover { transform: translateY(-4px); }

.card .icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 20%, transparent);
}

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

.icon-wrap.c-accent { background: color-mix(in srgb, var(--accent) 16%, var(--surface)); color: var(--accent); }
.icon-wrap.c-a1 { background: color-mix(in srgb, var(--ph-a1) 18%, var(--surface)); color: var(--ph-a1); }
.icon-wrap.c-b1 { background: color-mix(in srgb, var(--ph-b1) 18%, var(--surface)); color: var(--ph-b1); }
.icon-wrap.c-b2 { background: color-mix(in srgb, var(--ph-b2) 18%, var(--surface)); color: var(--ph-b2); }

.card h3 {
  font-size: 17px;
  margin: 0 0 8px;
  font-weight: 700;
}

.card p {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  counter-reset: step;
}

.step {
  position: relative;
  text-align: center;
  padding: 0 12px;
}

.step .num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step h3 { font-size: 16px; margin: 0 0 8px; font-weight: 700; }

.step p {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* Origin / about band */
.band {
  background: var(--ink);
  color: var(--bg);
  border-radius: 28px;
  padding: 56px 40px;
  text-align: center;
  margin: 0 24px;
  max-width: 1072px;
  margin-inline: auto;
  position: relative;
  overflow: hidden;
}

.band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 260px at 15% 0%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 60%);
}

.band-inner { position: relative; }

.band h2 {
  font-size: clamp(24px, 3.6vw, 32px);
  margin: 0 0 16px;
  font-weight: 700;
}

.band p {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  max-width: 560px;
  margin: 0 auto;
  color: color-mix(in srgb, var(--bg) 78%, transparent);
  font-size: 15px;
  line-height: 1.7;
}

.band .signature {
  margin-top: 22px;
  font-style: italic;
  font-size: 14px;
  color: color-mix(in srgb, var(--bg) 60%, transparent);
}

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

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

.footer-brand img { width: 26px; height: 26px; border-radius: 6px; }

.footer-brand span { font-weight: 700; font-size: 15px; }

.footer-meta {
  font-size: 13px;
  color: var(--muted-soft);
  text-align: right;
}

.footer-meta a { text-decoration: none; color: var(--accent); font-weight: 600; }

@media (max-width: 620px) {
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-meta { text-align: center; }
  .band { margin: 0 16px; padding: 40px 22px; }
}
