/* Beyond the GATE - marketing site base styles */

:root {
  --sage: #B3C3A3;
  --sage-dark: #96a889;
  --cream: #F5F3F0;
  --cream-tint: #FAFAF8;
  --taupe: #C9B8AD;
  --charcoal: #3a3a3a;
  --teal: #7BA89F;
  --earthy: #D4A574;
  --light-gray: #E8E6E3;
  --medium-gray: #9A9A9A;
  --white: #ffffff;
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 400;
}
a:hover { color: var(--charcoal); }

h1, h2, h3, h4 {
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em 0;
}

h1 { font-size: 40px; }
h2 { font-size: 28px; margin-top: 48px; }
h3 { font-size: 20px; margin-top: 32px; }

p { margin: 0 0 1.1em 0; }

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

/* Header */
.site-header {
  padding: 20px 0;
  border-bottom: 1px solid var(--light-gray);
  background: rgba(245, 243, 240, 0.9);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.brand {
  font-size: 16px;
  font-weight: 300;
  color: var(--charcoal);
  letter-spacing: 0.5px;
}
.brand .gate {
  color: var(--sage);
  font-weight: 300;
  letter-spacing: 3px;
}
.nav {
  display: flex;
  gap: 24px;
}
.nav a {
  font-size: 14px;
  font-weight: 300;
  color: var(--charcoal);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.nav a:hover { color: var(--sage-dark); }
.nav .cta {
  padding: 8px 16px;
  border: 1px solid var(--charcoal);
  border-radius: 6px;
  letter-spacing: 0.5px;
}
.nav .cta:hover {
  background: var(--charcoal);
  color: var(--white);
}

/* Hero */
.hero {
  padding: 96px 0 80px;
  text-align: center;
  background: linear-gradient(180deg, var(--cream-tint) 0%, var(--cream) 100%);
}
.hero .eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 16px;
}
.hero h1 {
  font-size: 52px;
  max-width: 700px;
  margin: 0 auto 18px;
}
.hero .lead {
  font-size: 18px;
  max-width: 560px;
  margin: 0 auto 36px;
  color: var(--medium-gray);
  font-weight: 300;
}
.hero .buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.button {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.button-primary {
  background: var(--charcoal);
  color: var(--white);
}
.button-primary:hover { background: #222; color: var(--white); }
.button-secondary {
  background: transparent;
  color: var(--charcoal);
  border: 1px solid var(--charcoal);
}
.button-secondary:hover { background: var(--charcoal); color: var(--white); }

/* Sections */
section { padding: 80px 0; }
section.alt { background: var(--white); }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.section-head .eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 12px;
}

/* Feature grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 12px;
  padding: 28px;
}
.card h3 { margin-top: 0; font-size: 18px; }
.card .eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 10px;
}
.card.sage { border-left: 3px solid var(--sage); }
.card.sage .eyebrow { color: var(--sage-dark); }
.card.taupe { border-left: 3px solid var(--taupe); }
.card.taupe .eyebrow { color: var(--taupe); }
.card.teal { border-left: 3px solid var(--teal); }
.card.teal .eyebrow { color: var(--teal); }
.card.earthy { border-left: 3px solid var(--earthy); }
.card.earthy .eyebrow { color: var(--earthy); }

/* Pricing */
.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}
.price-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  position: relative;
}
.price-card.highlight { border-color: var(--sage); border-width: 2px; }
.price-card .tier {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--medium-gray);
}
.price-card .price { font-size: 40px; font-weight: 300; color: var(--charcoal); margin: 12px 0 4px; }
.price-card .price small { font-size: 14px; color: var(--medium-gray); }
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  text-align: left;
}
.price-card li {
  padding: 8px 0;
  font-size: 14px;
  font-weight: 300;
  color: var(--charcoal);
  border-bottom: 1px solid var(--light-gray);
}
.price-card li.off { color: var(--medium-gray); text-decoration: line-through; }

/* Article */
.article {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.article .meta {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sage-dark);
  font-weight: 400;
  margin-bottom: 16px;
}
.article h1 { font-size: 40px; margin-bottom: 24px; }
.article h2 { font-size: 24px; margin-top: 40px; color: var(--charcoal); }
.article h3 { font-size: 18px; margin-top: 32px; }
.article p { font-size: 16px; font-weight: 300; }
.article ul, .article ol { padding-left: 20px; }
.article li { font-size: 16px; font-weight: 300; margin: 8px 0; }
.article blockquote {
  margin: 24px 0;
  padding: 16px 24px;
  border-left: 3px solid var(--sage);
  background: var(--white);
  border-radius: 4px;
  color: var(--charcoal);
  font-style: italic;
}

/* Callout */
.callout {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-left: 3px solid var(--sage);
  border-radius: 8px;
  padding: 24px;
  margin: 32px 0;
}
.callout strong { font-weight: 500; }

/* FAQ */
.faq-item {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 12px;
}
.faq-item h3 { margin-top: 0; font-size: 16px; font-weight: 400; }
.faq-item p { margin-bottom: 0; }

/* Footer */
.site-footer {
  padding: 60px 0 30px;
  background: var(--charcoal);
  color: var(--cream);
}
.site-footer .container { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 {
  color: var(--cream);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 400;
  margin: 0 0 16px 0;
}
.site-footer a {
  color: var(--cream);
  font-weight: 300;
  font-size: 14px;
  display: block;
  padding: 4px 0;
}
.site-footer a:hover { color: var(--sage); }
.site-footer .brand { color: var(--cream); }
.site-footer .brand .gate { color: var(--sage); }
.site-footer .fine { font-size: 12px; color: var(--medium-gray); margin-top: 16px; }
.site-footer .copyright {
  max-width: var(--max-width);
  margin: 40px auto 0;
  padding: 20px 24px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12px;
  color: var(--medium-gray);
}

/* Responsive */
@media (max-width: 720px) {
  h1 { font-size: 32px; }
  .hero h1 { font-size: 36px; }
  .nav { gap: 12px; }
  .nav a:not(.cta) { display: none; }
  .site-footer .container { grid-template-columns: 1fr 1fr; }
}
