/* Pollen — trypollen.app marketing site */

:root {
  --cream: #fffefd;
  --white: #ffffff;
  --ink: #1a1a1a;
  --muted: #666666;
  --border: rgba(26, 26, 26, 0.1);
  --gold: #c9a227;
  --gold-dark: #9a7b1a;
  --gold-soft: rgba(201, 162, 39, 0.12);
  --sand: #f2f0ec;
  --sky: #0c4a6e;
  --sky-soft: #e0f2fe;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(26, 26, 26, 0.06);
  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --max: 1120px;
  --nav-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--gold-dark);
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 0.75rem;
}

h3 {
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 36rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.75rem;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 254, 253, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
}

.logo:hover {
  color: var(--ink);
}

.logo-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-desktop a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}

.nav-desktop a:hover,
.nav-desktop a.is-active {
  color: var(--ink);
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-mobile {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--cream);
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  z-index: 99;
}

.nav-mobile.is-open {
  display: block;
}

.nav-mobile ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-mobile a {
  display: block;
  padding: 0.85rem 0;
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .nav-cta-desktop {
    display: inline-flex !important;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--ink);
  color: var(--cream);
}

.btn-primary:hover {
  color: var(--cream);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--border);
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
}

.btn-gold:hover {
  color: var(--ink);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Hero */
.hero {
  padding: 4rem 0 5rem;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-motto {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--gold-dark);
  margin-bottom: 1rem;
}

.hero-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.hero-map {
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--sand) 0%, var(--cream) 50%, var(--gold-soft) 100%);
  position: relative;
  overflow: hidden;
}

.hero-map::before {
  content: '';
  position: absolute;
  inset: 20%;
  border: 1px dashed rgba(26, 26, 26, 0.2);
  border-radius: 50%;
}

.hero-map .pin {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--ink);
  border: 2px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hero-map .pin:nth-child(1) {
  top: 35%;
  left: 42%;
}

.hero-map .pin:nth-child(2) {
  top: 48%;
  left: 58%;
  background: var(--gold);
}

.hero-map .pin:nth-child(3) {
  top: 62%;
  left: 38%;
}

.hero-map .pin.you {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  background: var(--ink);
  z-index: 2;
}

.hero-map-label {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--white);
  border-block: 1px solid var(--border);
}

.section-header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 3rem;
}

.section-header p {
  margin-bottom: 0;
}

/* Features */
.features-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: box-shadow 0.2s;
}

.feature-card:hover {
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  color: var(--ink);
}

/* Steps */
.steps {
  display: grid;
  gap: 2rem;
  counter-reset: step;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  position: relative;
  padding-top: 0.5rem;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* Pricing cards */
.pricing-grid {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), var(--shadow);
}

.pricing-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
}

.pricing-tag {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--ink);
  margin: 0.5rem 0 0.25rem;
}

.pricing-period {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.pricing-features {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  flex: 1;
}

.pricing-features li {
  padding: 0.45rem 0;
  padding-left: 1.35rem;
  position: relative;
  font-size: 0.9rem;
  color: var(--muted);
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold-dark);
  font-weight: 700;
}

.pricing-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.tier-x {
  background: linear-gradient(160deg, var(--sky-soft) 0%, var(--white) 60%);
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

th,
td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  font-weight: 600;
  color: var(--ink);
  background: var(--sand);
}

tr:last-child td {
  border-bottom: none;
}

/* Legal / prose */
.page-hero {
  padding: 3rem 0 2rem;
}

.prose {
  max-width: 42rem;
  margin: 0 auto;
  padding-bottom: 4rem;
}

.prose h2 {
  font-size: 1.35rem;
  margin-top: 2.5rem;
}

.prose h3 {
  font-size: 1.1rem;
  margin-top: 1.75rem;
}

.prose ul,
.prose ol {
  color: var(--muted);
  padding-left: 1.25rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

.prose a {
  color: var(--gold-dark);
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.contact-card a {
  font-weight: 600;
  font-size: 1.1rem;
}

/* CTA band */
.cta-band {
  background: var(--ink);
  color: var(--cream);
  padding: 4rem 0;
  text-align: center;
}

.cta-band h2 {
  color: var(--cream);
}

.cta-band p {
  color: rgba(255, 254, 253, 0.75);
  max-width: 32rem;
  margin-inline: auto;
}

.cta-band .btn-primary {
  background: var(--gold);
  color: var(--ink);
}

/* Footer */
.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-links h4 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1rem;
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  display: block;
  padding: 0.35rem 0;
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}

.badge-soon {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: var(--gold-soft);
  color: var(--gold-dark);
  margin-left: 0.35rem;
  vertical-align: middle;
}
