/* Marketing pages: pricing, manufacturers, thanks. Inherits styles.css
   for tokens (radii, shadows, gradients) and overlays page-specific bits. */

.masthead-nav { display: flex; gap: 0.4rem; align-items: center; }
.masthead-nav a {
  font-size: 0.88rem;
  color: var(--fg-muted);
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-pill);
  font-weight: 500;
  transition: all .15s;
}
.masthead-nav a:hover {
  background: var(--primary-soft);
  color: var(--primary-dark);
}
.masthead-nav a.active {
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 600;
}

/* -- Hero -- */
.hero {
  padding: 1.5rem 0 2rem;
  text-align: left;
  max-width: 740px;
}
.hero-eyebrow {
  display: inline-block;
  background: var(--gradient-soft);
  color: var(--primary-dark);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  margin-bottom: 0.85rem;
}

/* -- Pricing grid -- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.plan {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
  box-shadow: var(--shadow-sm);
}
.plan:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.plan.featured {
  background: var(--gradient-soft);
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-md);
}
.plan .badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: white;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 12px rgba(99,102,241,0.32);
}
.plan header h3 {
  margin: 0 0 0.2rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--fg);
}
.plan-blurb {
  font-size: 0.82rem;
  color: var(--fg-muted);
}
.plan-price {
  margin: 1.1rem 0 0.2rem;
  display: flex; align-items: baseline; gap: 0.3rem;
}
.plan-price .price-amount {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fg);
  line-height: 1;
}
.plan-price .price-amount sup {
  font-size: 0.95rem;
  font-weight: 700;
  vertical-align: 0.6em;
}
.plan-price .price-period {
  font-size: 0.85rem;
  color: var(--fg-muted);
}
.plan-fee {
  font-size: 0.83rem;
  color: var(--fg-muted);
  margin-top: 0.2rem;
}
.plan-fee strong { color: var(--fg); font-weight: 700; }
.plan-features {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.25rem;
  font-size: 0.88rem;
  color: var(--fg);
  flex: 1;
}
.plan-features li {
  padding: 0.3rem 0 0.3rem 1.6rem;
  position: relative;
  line-height: 1.45;
}
.plan-features li::before {
  content: '✓';
  position: absolute;
  left: 0.2rem; top: 0.3rem;
  width: 18px; height: 18px;
  background: var(--gradient-accent);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
}
.plan-cta {
  display: block;
  text-align: center;
  padding: 0.75rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all .18s;
  cursor: pointer;
}
.plan-cta.primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 14px rgba(99,102,241,0.32);
}
.plan-cta.primary:hover { box-shadow: 0 8px 22px rgba(99,102,241,0.42); transform: translateY(-1px); }
.plan-cta.ghost {
  border: 1px solid var(--border);
  color: var(--primary);
  background: var(--card);
}
.plan-cta.ghost:hover {
  background: var(--primary-soft);
}

.annual-nudge {
  text-align: center;
  font-size: 0.92rem;
  color: var(--fg-muted);
  margin: 0.5rem 0 1.5rem;
  background: var(--gradient-soft);
  padding: 0.65rem 1rem;
  border-radius: var(--radius-pill);
  display: inline-block;
}

/* -- Logos / partners row -- */
.logos {
  margin: 1.5rem 0;
  text-align: center;
  padding: 1.25rem;
}
.logos-eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  margin-bottom: 0.85rem;
  font-weight: 700;
}
.logos-row {
  display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center;
}
.logo-pill {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  color: var(--fg-muted);
  font-weight: 500;
}

/* -- Explain box -- */
.explain-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  box-shadow: var(--shadow-sm);
}
.explain-box h4 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--fg);
}
.explain-box p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
  margin: 0.6rem 0;
}
.explain-box .muted { color: var(--fg-muted); font-size: 0.83rem; }

/* -- Sign-up form card -- */
.signup-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.85rem;
  margin: 2rem 0;
  box-shadow: var(--shadow-md);
}
.signup-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.3rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.signup-card .muted { color: var(--fg-muted); font-size: 0.88rem; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin: 1rem 0;
}
.form-grid label, .signup-card label.full {
  display: flex;
  flex-direction: column;
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-weight: 600;
}
.form-grid label.full, .signup-card label.full { grid-column: 1 / -1; }
.form-grid input, .form-grid textarea,
.signup-card input, .signup-card textarea {
  margin-top: 0.3rem;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 0.92rem;
  transition: border-color .15s, box-shadow .15s;
}
.form-grid input:focus, .form-grid textarea:focus,
.signup-card input:focus, .signup-card textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.signup-card label.checkbox {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.88rem; color: var(--fg);
  font-weight: 500;
  margin: 0.5rem 0 0;
}
.signup-card label.checkbox input { margin: 0; }
.signup-card button.primary.big {
  margin-top: 1rem;
  width: 100%;
}
.signup-card .small { font-size: 0.78rem; }
.signup-card .fineprint {
  font-size: 0.75rem;
  color: var(--fg-muted);
  margin-top: 1rem;
  line-height: 1.5;
}

/* -- Thanks page -- */
.thanks {
  text-align: center;
  padding: 2rem 0;
}
.thanks h1 {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 2rem;
  margin: 1rem 0 0.5rem;
}
.thanks code {
  background: var(--card);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--primary-dark);
}
.thanks .ghost {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  margin-top: 0.4rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  color: var(--primary);
  text-decoration: none;
  background: var(--card);
}

.reveal-box {
  background: var(--card);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1.25rem;
  margin: 2rem auto 1rem;
  max-width: 720px;
  font-size: 0.85rem;
}
.reveal-box summary {
  cursor: pointer;
  color: var(--fg-muted);
  font-weight: 600;
  list-style: none;
}
.reveal-box summary::-webkit-details-marker { display: none; }
.reveal-box summary::before {
  content: '▾'; margin-right: 0.4rem;
  display: inline-block; transition: transform .2s;
}
.reveal-box[open] summary::before { transform: rotate(180deg); }
.reveal-box p {
  color: var(--fg-muted);
  line-height: 1.65;
  margin: 0.65rem 0;
}

/* -- Gratitude / "Letter from leadership" block: the chef's kiss -- */
.gratitude {
  background: var(--card);
  background-image: linear-gradient(135deg, rgba(99,102,241,0.05), rgba(236,72,153,0.04) 60%, rgba(16,185,129,0.04));
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  margin: 2rem 0;
  box-shadow: var(--shadow-md);
}
.gratitude-eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.gratitude h2 {
  margin: 0 0 0.85rem;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.gratitude p {
  font-size: 0.95rem;
  color: var(--fg);
  line-height: 1.7;
  margin: 0.75rem 0;
}
.gratitude p strong { color: var(--primary-dark); font-weight: 700; }
.gratitude-sig {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border);
}
.sig-name {
  font-family: 'Brush Script MT', cursive;
  font-size: 1.4rem;
  color: var(--primary-dark);
  line-height: 1;
}
.sig-title {
  font-size: 0.78rem;
  color: var(--fg-muted);
  margin-top: 0.3rem;
}

/* -- Leadership / CEO bio card -- */
.leadership {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.85rem;
  margin: 2rem 0;
  box-shadow: var(--shadow-sm);
}
.leader-eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
  font-weight: 700;
  margin-bottom: 1rem;
}
.leader-row {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  flex-wrap: wrap;
}
.leader-photo {
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  box-shadow: 0 8px 24px rgba(99,102,241,0.32), 0 2px 6px rgba(99,102,241,0.18);
  position: relative;
}
.leader-photo::after {
  /* subtle glossy highlight */
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: linear-gradient(160deg, rgba(255,255,255,0.22), transparent 50%);
  pointer-events: none;
}
.leader-body { flex: 1 1 320px; min-width: 280px; }
.leader-body h3 {
  margin: 0 0 0.15rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--fg);
}
.leader-title {
  font-size: 0.82rem;
  color: var(--primary-dark);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
}
.leader-body p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
  margin: 0.6rem 0;
}
.leader-personal {
  font-style: italic;
  color: var(--fg-muted);
  border-top: 1px dashed var(--border);
  padding-top: 0.6rem;
  margin-top: 0.85rem !important;
}

/* -- "What happens next" card on the thanks page -- */
.next-steps {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin: 2rem auto;
  max-width: 720px;
  box-shadow: var(--shadow-sm);
  text-align: left;
}
.next-steps h3 {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  color: var(--fg);
  font-weight: 700;
}
.next-steps ol {
  margin: 0 0 0.75rem;
  padding-left: 1.5rem;
  font-size: 0.92rem;
  color: var(--fg);
  line-height: 1.75;
}
.next-steps ol li { margin: 0.35rem 0; }
.next-steps p.muted {
  font-size: 0.83rem;
  color: var(--fg-muted);
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}
