/* ═══════════════════════════════════════════════════════════
   ANTI-NA® / SIPS.SCIENCE — SHARED BRAND STYLESHEET
   
   This file is the single source of truth for colors, fonts,
   and spacing across anti-na.com (Liquid sections) and
   sips.science (static pages).
   
   If a brand color changes, change it here once.
═══════════════════════════════════════════════════════════ */

:root {
  /* ── CORE PALETTE — from Anti-na brand color document ── */
  --teal:         #00A896;
  --teal-dark:    #007D72;
  --teal-light:   #E6F7F6;

  --orange:       #FF5C39;
  --orange-dark:  #E04E2E;
  --orange-light: #FFF0EC;

  --yellow:       #FFE8A3;
  --yellow-light: #FFF9E6;

  --cream:        #F9F6F1;
  --cream-2:      #FDFBF7;

  --charcoal:     #2C2C2C;
  --mid:          #555550;
  --muted:        #7A7A75;
  --rule:         #E5E0D8;
  --white:        #FFFFFF;

  /* ── FONTS ── */
  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-sans:  'Josefin Sans', 'Inter', system-ui, sans-serif;
  --font-body:  'Lato', 'Inter', system-ui, sans-serif;

  /* ── SPACING / RADIUS ── */
  --radius:    14px;
  --radius-sm: 8px;
  --max-width: 1080px;
}

/* ═══════════════════════════════════════════════════════════
   SIPS.SCIENCE POSITIONING NOTE:

   anti-na.com  = SELLS  → warm, cream/yellow heavy, emotional
   sips.science = PROVES → same palette, but teal/charcoal heavy,
                            more whitespace, citation-forward

   Both share: cream base, charcoal text, teal accent, orange CTA,
   same font family. sips.science just leans cooler/cleaner.
═══════════════════════════════════════════════════════════ */

* { box-sizing: border-box; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--charcoal);
  font-size: 17px;
  line-height: 1.7;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.15;
}

a { color: var(--teal-dark); text-decoration: underline; }
a:hover { color: var(--teal); }

img { max-width: 100%; height: auto; display: block; }

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

.section { padding: 64px 0; }
.section--tight { padding: 40px 0; }

@media (max-width: 640px) {
  .section { padding: 44px 0; }
  body { font-size: 16px; }
}

/* ── HEADER (shared across sips.science pages) ── */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  padding: 18px 0;
}
.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.site-header__logo {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 20px;
  color: var(--orange);
  letter-spacing: .02em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-header__logo .sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  color: var(--teal-dark);
  letter-spacing: .12em;
  text-transform: uppercase;
  border-left: 1px solid var(--rule);
  padding-left: 10px;
}
.site-header__nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
}
.site-header__nav a {
  color: var(--charcoal);
  text-decoration: none;
  letter-spacing: .03em;
}
.site-header__nav a:hover { color: var(--teal-dark); }
.site-header__cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 60px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
}
.site-header__cta:hover { background: var(--orange-dark); }

/* ── FOOTER (shared) ── */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,.7);
  padding: 48px 0 32px;
  font-size: 14px;
}
.site-footer a {
  color: var(--teal);
  text-decoration: none;
}
.site-footer a:hover { text-decoration: underline; }
.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
@media (max-width: 640px) {
  .site-footer__grid { grid-template-columns: 1fr; gap: 24px; }
}
.site-footer__title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  font-size: 12px;
  color: rgba(255,255,255,.45);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ── REUSABLE COMPONENTS ── */

/* Eyebrow label */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 12px;
}
.eyebrow--teal { color: var(--teal-dark); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: 60px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: all .18s ease;
  white-space: nowrap;
}
.btn--orange { background: var(--orange); color: var(--white); }
.btn--orange:hover { background: var(--orange-dark); }
.btn--teal { background: var(--teal); color: var(--white); }
.btn--teal:hover { background: var(--teal-dark); }
.btn--outline {
  background: transparent;
  border-color: var(--teal);
  color: var(--teal-dark);
}
.btn--outline:hover { background: var(--teal-light); }

/* Cards */
.card {
  background: var(--white);
  border: 1.5px solid var(--rule);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.card--cream { background: var(--cream); }
.card--teal { background: var(--teal-light); border-color: var(--teal); }
.card--dark { background: var(--charcoal); color: var(--white); border-color: var(--charcoal); }
.card--dark p, .card--dark li { color: rgba(255,255,255,.78); }

/* Citation badge — used throughout sips.science */
.citation {
  display: inline-block;
  font-size: 13px;
  font-family: var(--font-body);
  color: var(--teal-dark);
  background: var(--teal-light);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  line-height: 1.5;
}

/* Grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
@media (max-width: 680px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* Tables — for study library */
table.study-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
}
table.study-table th {
  background: var(--charcoal);
  color: var(--white);
  text-align: left;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13px;
}
table.study-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--rule);
  color: var(--mid);
}
table.study-table tr:last-child td { border-bottom: none; }
table.study-table a { color: var(--teal-dark); }

/* Cross-domain banner — appears on sips.science pages */
.cross-domain-banner {
  background: var(--teal);
  color: var(--white);
  text-align: center;
  padding: 10px 20px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
}
.cross-domain-banner a {
  color: var(--white);
  text-decoration: underline;
}
