/* Big Whoop — marketing site styles
   Plain CSS, no framework. Brand tokens mirror the app's src/styles/globals.css
   so the marketing site and the product feel like one brand. */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:wght@300;400;500;600&family=Dancing+Script:wght@600;700&display=swap');

:root {
  --hunter-green: #2d5a3d;
  --hunter-green-dark: #1e3d2a;
  --cream: #faf6ee;
  --gold: #c9a84c;
  --gold-light: #e8d89f;
  --gold-dark: #a88a3d;
  --white: #ffffff;
  --ink: #1e3d2a;
  --slate-600: #475569;
  --slate-500: #64748b;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-script: 'Dancing Script', cursive;

  --maxw: 1120px;
  --radius: 16px;
  --shadow-sm: 0 1px 3px rgba(30, 61, 42, 0.08);
  --shadow-md: 0 10px 30px rgba(30, 61, 42, 0.12);
  --shadow-lg: 0 24px 60px rgba(30, 61, 42, 0.18);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--hunter-green);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1rem; }

a { color: var(--hunter-green); text-decoration: none; }
a:hover { color: var(--gold-dark); }

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

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

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 0.75rem;
}

.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--green {
  background: linear-gradient(135deg, var(--hunter-green) 0%, var(--hunter-green-dark) 100%);
  color: var(--cream);
}
.section--green h1,
.section--green h2,
.section--green h3 { color: var(--cream); }
.section--white { background: var(--white); }

.center { text-align: center; }
.lead {
  font-size: 1.15rem;
  color: var(--slate-600);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.section--green .lead { color: rgba(250, 246, 238, 0.85); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.98rem;
  padding: 0.8rem 1.6rem;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--gold {
  background: var(--gold);
  color: var(--hunter-green-dark);
  box-shadow: var(--shadow-sm);
}
.btn--gold:hover { background: var(--gold-light); color: var(--hunter-green-dark); box-shadow: var(--shadow-md); }
.btn--green {
  background: var(--hunter-green);
  color: var(--cream);
}
.btn--green:hover { background: var(--hunter-green-dark); color: var(--cream); }
.btn--cream {
  background: var(--cream);
  color: var(--hunter-green);
}
.btn--cream:hover { background: var(--white); color: var(--hunter-green); box-shadow: var(--shadow-md); }
.btn--outline {
  background: transparent;
  color: var(--hunter-green);
  border-color: rgba(45, 90, 61, 0.25);
}
.btn--outline:hover { border-color: var(--gold); color: var(--hunter-green); }
.section--green .btn--outline,
.hero .btn--outline { color: var(--cream); border-color: rgba(250, 246, 238, 0.4); }
.section--green .btn--outline:hover,
.hero .btn--outline:hover { border-color: var(--gold); color: var(--gold-light); }
.btn--lg { padding: 1rem 2rem; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(45, 90, 61, 0.12);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--hunter-green);
}
.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  background: var(--white);
  border-radius: 10px;
  padding: 4px;
}
/* Header brand: the logo IS the wordmark, so it stands alone, larger, inverted */
.brand--logo { gap: 0; }
.brand--logo img {
  height: 60px;
  width: auto;
  background: none;
  border-radius: 0;
  padding: 0;
  object-fit: contain;
  transition: transform 0.15s ease;
}
.brand--logo:hover img { transform: scale(1.04); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-weight: 400;
  color: var(--ink);
  font-size: 0.98rem;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold-dark); }
.nav-actions { display: flex; align-items: center; gap: 0.75rem; }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  color: var(--hunter-green);
}
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--hunter-green) 0%, var(--hunter-green-dark) 100%);
  color: var(--cream);
  text-align: center;
  padding: 96px 0 104px;
}
.hero .logo-badge {
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .logo-badge img {
  width: clamp(190px, 32vw, 250px);
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.22));
}
.hero h1 { color: var(--cream); margin-bottom: 0.4em; }
.hero .tagline {
  font-family: var(--font-script);
  color: var(--gold-light);
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 1.5rem;
}
.hero p.sub {
  color: rgba(250, 246, 238, 0.9);
  font-size: 1.2rem;
  max-width: 640px;
  margin: 0 auto 2.2rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Feature cards ---------- */
.grid {
  display: grid;
  gap: 28px;
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid rgba(45, 90, 61, 0.12);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201, 168, 76, 0.5);
}
.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(45, 90, 61, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--hunter-green);
}
.card .icon svg { width: 26px; height: 26px; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step .num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--hunter-green-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

/* ---------- Pricing ---------- */
.toggle-note {
  display: inline-block;
  background: rgba(201, 168, 76, 0.15);
  color: var(--gold-dark);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
}
.plan.popular {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}
.plan .badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-dark));
  color: var(--hunter-green-dark);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
}
.plan .plan-name { margin-bottom: 0.2rem; }
.plan .plan-size { color: var(--gold-dark); font-weight: 500; font-size: 0.9rem; margin-bottom: 0.8rem; }
.plan .price { display: flex; align-items: baseline; gap: 0.2rem; margin: 0.6rem 0 0.3rem; }
.plan .price .currency { font-size: 1.3rem; color: var(--slate-600); }
.plan .price .amount { font-family: var(--font-heading); font-size: 3rem; font-weight: 700; color: var(--hunter-green); }
.plan .price .period { color: var(--slate-600); }
.plan .price-sub { font-size: 0.88rem; color: var(--slate-600); margin-bottom: 0.3rem; }
.plan .price-note { font-size: 0.78rem; color: var(--slate-500); font-style: italic; margin-bottom: 1.2rem; }
.plan ul.features {
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}
.plan ul.features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--slate-600);
}
.plan ul.features svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.plan .btn { width: 100%; justify-content: center; }

/* Segmented control for personal / business */
.segmented {
  display: inline-flex;
  background: rgba(45, 90, 61, 0.08);
  border-radius: 999px;
  padding: 5px;
  margin: 0 auto 2.5rem;
  gap: 4px;
}
.segmented button {
  border: 0;
  background: transparent;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--hunter-green);
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.segmented button.active {
  background: var(--hunter-green);
  color: var(--cream);
  box-shadow: var(--shadow-sm);
}
.pricing-group[hidden] { display: none; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band .btn { margin-top: 0.5rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--hunter-green-dark);
  color: rgba(250, 246, 238, 0.7);
  padding: 56px 0 32px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 32px;
}
.site-footer .brand { color: var(--cream); }
.site-footer a { color: rgba(250, 246, 238, 0.7); }
.site-footer a:hover { color: var(--gold-light); }
.footer-col h4 { color: var(--cream); font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.9rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.95rem; }
.footer-bottom {
  border-top: 1px solid rgba(250, 246, 238, 0.12);
  padding-top: 24px;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .nav-links,
  .nav-actions .btn--outline { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 88px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(45, 90, 61, 0.1);
    box-shadow: var(--shadow-md);
    padding: 8px 24px 16px;
  }
  .nav.open .nav-links li { width: 100%; }
  .nav.open .nav-links a { display: block; padding: 0.85rem 0; border-bottom: 1px solid rgba(45, 90, 61, 0.08); }
  .section { padding: 64px 0; }
}
