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

:root{
  --bg: #FAF8F4;
  --panel: #FFFFFF;
  --ink: #2B2B28;
  --ink-soft: #5C5A53;
  --teal: #2D6A4F;
  --teal-light: #E8F0EA;
  --coral: #D9730D;
  --coral-light: #FCEADB;
  --sage: #7A8B6F;
  --sage-light: #EEF1E9;
  --line: #DCD7CC;
}

*{ box-sizing: border-box; margin:0; padding:0; }

html{ scroll-behavior: smooth; }

body{
  background: var(--bg);
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  min-height: 100vh;
  display:flex;
  flex-direction: column;
}

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

/* ---------- Top bar / nav ---------- */
.topbar{
  background: var(--panel);
  border-bottom: 3px solid var(--teal);
  position: sticky;
  top: 0;
  z-index: 50;
}
.topbar-inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 28px 0;
}
.brand-row{
  display:flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 16px;
}
.brand-row .eyebrow{
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral);
  font-weight: 700;
  margin-bottom: 4px;
}
.brand-row h1{
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 26px;
  color: var(--teal);
}
.shop-link{
  background: var(--coral);
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 999px;
  white-space: nowrap;
  transition: opacity 0.15s ease;
}
.shop-link:hover{ opacity: 0.85; }

/* tab nav */
.tab-nav{
  display:flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: thin;
  padding-bottom: 0;
}
.tab-nav::-webkit-scrollbar{ height: 5px; }
.tab-nav::-webkit-scrollbar-thumb{ background: var(--line); border-radius: 4px; }

.tab-nav a{
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 10px 16px;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.tab-nav a:hover{ color: var(--teal); }
.tab-nav a.active{
  color: var(--teal);
  border-bottom-color: var(--teal);
}

/* ---------- Main content ---------- */
main{
  flex: 1;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 44px 28px 60px;
}

.page-header{
  margin-bottom: 32px;
}
.page-header .eyebrow{
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral);
  font-weight: 700;
  margin-bottom: 8px;
}
.page-header h2{
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 36px;
  color: var(--teal);
  margin-bottom: 10px;
  line-height: 1.1;
}
.page-header p{
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 600px;
  line-height: 1.5;
}

/* ---------- Product link cards ---------- */
.product-list{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-card{
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 22px;
  display:flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.product-card:hover{
  border-color: var(--teal);
  box-shadow: 0 2px 10px rgba(27,75,79,0.08);
}

.product-card.own-product{
  border-color: var(--coral);
  background: var(--coral-light);
}

.product-info{ flex: 1; }
.product-name{
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 3px;
}
.product-note{
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.45;
}

.product-badge{
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--coral);
  background: #fff;
  border: 1px solid var(--coral);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 6px;
  display: inline-block;
}

.product-cta{
  flex-shrink: 0;
  background: var(--teal);
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 999px;
  white-space: nowrap;
  transition: opacity 0.15s ease;
}
.product-cta:hover{ opacity: 0.85; }
.own-product .product-cta{ background: var(--coral); }

/* ---------- Hub page topic grid ---------- */
.topic-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}
.topic-card{
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 24px;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.topic-card:hover{
  border-color: var(--teal);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(27,75,79,0.1);
}
.topic-card .topic-icon{
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 10px;
}
.topic-card h3{
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.topic-card p{
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ---------- Disclaimer footer banner ---------- */
.disclaimer-banner{
  background: #F1EEE6;
  border-left: 4px solid var(--teal);
  border-radius: 0 10px 10px 0;
  padding: 18px 24px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-top: 36px;
}
.disclaimer-banner strong{ color: var(--ink); }

/* ---------- Site footer ---------- */
footer{
  border-top: 1px solid var(--line);
  padding: 24px 28px;
  text-align: center;
  font-size: 12.5px;
  color: #A39E91;
  letter-spacing: 0.03em;
}
footer a{
  color: var(--coral);
  font-weight: 600;
}

@media (max-width: 600px){
  .brand-row{ flex-direction: column; align-items: flex-start; gap: 12px; }
  .page-header h2{ font-size: 28px; }
  .product-card{ flex-direction: column; align-items: flex-start; }
  .product-cta{ align-self: stretch; text-align: center; }
}
