@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Sora:wght@400;500;600&display=swap');

:root{
  --bg: #f6efe2;
  --bg-soft: #f1e7d5;
  --ink: #2a231c;
  --muted: #5c5044;
  --terracotta: #c1552c;
  --ochre: #d9a441;
  --umber: #8a6a4f;
  --card-bg: rgba(255, 252, 246, 0.72);
  --card-border: rgba(42, 35, 28, 0.09);
  --shadow: rgba(42, 35, 28, 0.14);
}

*, *::before, *::after{
  box-sizing: border-box;
}

html, body{
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

body{
  background-color: var(--bg);
  color: var(--ink);
  font-family: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
  position: relative;
}

h1, h2, h3, .wordmark{
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}

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

/* ---------- background animation layer ---------- */
#weave-canvas{
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  display: block;
}

.page{
  position: relative;
  z-index: 10;
}

/* ---------- nav ---------- */
header.nav{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 5vw;
  background: rgba(246, 239, 226, 0.68);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--card-border);
}

.wordmark{
  font-size: 1.5rem;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.wordmark .dot{
  color: var(--terracotta);
}

#buy_now_link{
  display: inline-block;
  padding: 10px 22px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

#buy_now_link:hover{
  background: var(--terracotta);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--shadow);
}

#buy_now_link:focus-visible{
  outline: 3px solid var(--ochre);
  outline-offset: 3px;
}

/* ---------- hero ---------- */
.hero{
  padding: 14vh 6vw 8vh;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 78vh;
  justify-content: center;
}

.hero .eyebrow{
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
  margin-bottom: 22px;
}

.hero h1{
  font-size: clamp(2rem, 6vw, 5rem);
  line-height: 1.08;
  color: var(--ink);
}

.hero h1 span{
  display: block;
}

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

.hero p{
  margin: 30px auto 0;
  max-width: 680px;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--muted);
}

/* ---------- cards ---------- */
.cards-section{
  padding: 6vh 6vw 10vh;
  max-width: 1180px;
  margin: 0 auto;
}

.cards-section .section-heading{
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

.cards-section .section-heading h2{
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--ink);
}

.cards-section .section-heading p{
  margin-top: 12px;
  color: var(--muted);
  font-size: 1rem;
}

.card-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card{
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 38px 35px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.card:hover{
  transform: translateY(-8px);
  box-shadow: 0 18px 40px var(--shadow);
  border-color: rgba(193, 85, 44, 0.35);
}

.card .mark{
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--terracotta), var(--ochre));
  margin-bottom: 20px;
}

.card h3{
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 12px;
}

.card p{
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* ---------- CTA ---------- */
.cta{
  text-align: center;
  padding: 10vh 6vw 14vh;
  max-width: 640px;
  margin: 0 auto;
}

.cta h2{
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  color: var(--ink);
  margin-bottom: 14px;
}

.cta .lead{
  color: var(--muted);
  font-size: 1.02rem;
  margin-bottom: 36px;
}

.cta p:first-of-type,
.cta p.signal-status{
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
  margin: 0 0 20px;
}

#buy_now_bottom{
  display: inline-block;
  padding: 18px 46px;
  background: var(--terracotta);
  color: var(--bg);
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(1rem, 2vw, 1.25rem);
  letter-spacing: 0.01em;
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(193, 85, 44, 0.35);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

#buy_now_bottom:hover{
  transform: translateY(-3px);
  background: var(--ink);
  box-shadow: 0 18px 42px var(--shadow);
}

#buy_now_bottom:focus-visible{
  outline: 3px solid var(--ochre);
  outline-offset: 4px;
}

.cta p:last-of-type{
  margin: 22px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 480px){
  header.nav{
    padding: 14px 5vw;
  }
  .wordmark{
    font-size: 1.2rem;
  }
  #buy_now_link{
    padding: 8px 16px;
    font-size: 0.78rem;
  }
  .hero{
    padding: 16vh 6vw 6vh;
    min-height: unset;
  }
  .card{
    padding: 30px 26px;
  }
  #buy_now_bottom{
    padding: 16px 34px;
    width: 100%;
  }
  .cta{
    padding: 8vh 6vw 10vh;
  }
}

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