/* RxByState Marketing Site — Global Styles */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,400;0,500;0,600;1,400&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

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

:root {
  --bg:            #f7f5f0;
  --bg-surface:    #ffffff;
  --bg-subtle:     #f0ece5;
  --text:          #14140f;
  --text-muted:    #6b6860;
  --accent:        #0f766e;
  --accent-hover:  #0d6460;
  --accent-light:  #e6f7f5;
  --accent-text:   #065f59;
  --danger:        #be123c;
  --warning:       #92400e;
  --border:        #e2ddd6;
  --border-strong: #c8c3bc;
  --heading-font:  Georgia, serif;
  --body-font:     'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono-font:     'IBM Plex Mono', Menlo, Consolas, monospace;
  --nav-h:         68px;
  --r:             8px;
  --r-lg:          12px;
  --max-w:         1180px;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body-font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Navigation ── */
nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 32px; width: 100%;
  display: flex; align-items: center;
}
.logo {
  font-family: Georgia, serif; font-size: 21px; font-weight: 400;
  color: var(--text); text-decoration: none; letter-spacing: -0.02em;
  flex-shrink: 0;
}
.logo-rx { color: var(--accent); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: 36px; flex: 1; }
.nav-link {
  font-size: 16px; color: var(--text-muted); text-decoration: none;
  padding: 6px 11px; border-radius: 6px;
  transition: color 0.14s, background 0.14s;
}
.nav-link:hover { color: var(--text); background: var(--bg-subtle); }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-family: var(--body-font); font-weight: 500; border-radius: var(--r);
  cursor: pointer; text-decoration: none; border: none;
  transition: background 0.14s, color 0.14s, transform 0.14s, box-shadow 0.14s;
  white-space: nowrap; line-height: 1;
}
.btn-sm  { font-size: 15px; padding: 8px 18px; }
.btn-md  { font-size: 14px; padding: 9px 18px; }
.btn-lg  { font-size: 15px; padding: 11px 22px; }
.btn-ghost   { background: transparent; color: var(--text-muted); }
.btn-ghost:hover { background: var(--bg-subtle); color: var(--text); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border-strong); }
.btn-outline:hover { background: var(--bg-subtle); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 3px 12px rgba(15,118,110,0.3); }
.btn-primary-outline { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.btn-primary-outline:hover { background: var(--accent-light); }

/* ── Layout ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
section { padding: 88px 0; }
section.alt { background: var(--bg-subtle); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--heading-font); line-height: 1.12;
  letter-spacing: -0.025em; color: var(--text);
}
h1 { font-size: clamp(36px, 5vw, 58px); font-weight: 400; }
h2 { font-size: clamp(26px, 3.5vw, 42px); font-weight: 400; }
h3 { font-size: 20px; font-weight: 500; }
.eyebrow {
  display: block; font-family: var(--mono-font); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 14px;
}
p { line-height: 1.7; }

/* ── Trust bar ── */
.trust-bar {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.trust-items {
  display: flex; align-items: center; justify-content: center;
  gap: 40px; flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--text-muted); }
.trust-dot {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent-light); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700; flex-shrink: 0;
}

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  background: var(--bg);
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 32px;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 40px;
}
.footer-brand { max-width: 300px; }
.footer-brand-name {
  font-family: Georgia, serif; font-size: 17px; font-weight: 400;
  margin-bottom: 10px; letter-spacing: -0.02em;
}
.footer-brand-name .rx { color: var(--accent); font-weight: 700; }
.footer-brand-desc { font-size: 13px; color: var(--text-muted); line-height: 1.65; }
.footer-col-title {
  font-family: var(--mono-font); font-size: 10.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted);
  margin-bottom: 14px;
}
.footer-col-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col-links a {
  font-size: 13.5px; color: var(--text-muted); text-decoration: none;
  transition: color 0.14s;
}
.footer-col-links a:hover { color: var(--text); }
.footer-bottom {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 24px; padding-top: 28px; border-top: 1px solid var(--border);
}
.footer-disclaimer {
  font-size: 11.5px; color: var(--text-muted); line-height: 1.65;
  max-width: 680px; font-family: var(--mono-font);
}
.footer-copy { font-size: 12px; color: var(--text-muted); flex-shrink: 0; }

/* ── Scroll reveal ── */
.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  section { padding: 56px 0; }
  .nav-links { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
