/* Bhowra marketing — page styles (header, footer, sections, components) */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
/* Safety net — any stray logo SVG/PNG referenced anywhere must stay header-sized.
   Without this rule, the BHOWRA wordmark SVG renders at its natural 1500+px width
   and breaks layout (observed on products.html 2026-05-26). */
.site-header img, .site-footer img { height: 1.75rem; width: auto; }
h1, h2, h3, h4 { color: var(--foreground); }

/* ---- Layout --------------------------------------------------------- */
.container { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: 48rem; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-muted { background: var(--muted); }
.section-cta { background: var(--card); text-align: center; }
.section-title { font-size: 2rem; text-align: center; margin: 0 0 3rem; }

/* ---- Buttons -------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--bh-radius-md);
  font-weight: 500;
  font-size: 0.9375rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: opacity 0.15s, background 0.15s;
  text-decoration: none;
}
.btn:hover { text-decoration: none; opacity: 0.92; }
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--foreground);
}
.btn-outline:hover { background: var(--muted); }

/* ---- Header --------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--surface-translucent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 4.25rem;
}
.site-header-left { display: flex; align-items: center; gap: 2.5rem; }
.site-header-right { display: flex; align-items: center; gap: 1.5rem; }

.site-logo { display: flex; align-items: center; gap: 0.625rem; text-decoration: none; }
.site-logo-mark-img {
  width: 1.75rem; height: 1.75rem;
  display: block;
}
.site-logo-text { font-weight: 600; font-size: 1.0625rem; color: var(--foreground); }

.site-nav { display: flex; gap: 1.75rem; align-items: center; }

/* Hover dropdown under a nav trigger (e.g. Product > HRMS / Society Mgmt) */
.site-nav-dropdown { position: relative; }
.site-nav-trigger::after {
  content: " \25BE";
  font-size: 0.75em;
  color: var(--muted-foreground);
}
.site-nav-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: -0.75rem;
  min-width: 17rem;
  background: var(--surface-dropdown);
  border: 1px solid var(--border);
  border-radius: var(--bh-radius-md);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  padding: 0.5rem;
  display: none;
  flex-direction: column;
  z-index: 60;
}
/* Invisible bridge above the menu — keeps :hover alive when the mouse crosses
   the visual gap between trigger and menu, so the menu doesn't close before
   you can click HRMS. */
.site-nav-menu::before {
  content: '';
  position: absolute;
  top: -0.75rem;
  left: 0; right: 0;
  height: 0.75rem;
}
.site-nav-dropdown:hover .site-nav-menu,
.site-nav-dropdown:focus-within .site-nav-menu { display: flex; }
.site-nav-menu a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.875rem;
  border-radius: var(--bh-radius-sm);
  color: var(--foreground);
  font-size: 0.9375rem;
  text-decoration: none;
}
.site-nav-menu a:hover { background: var(--muted); color: var(--foreground); }
.site-nav-disabled { opacity: 0.7; pointer-events: none; }
.site-nav-badge {
  background: var(--muted); color: var(--muted-foreground);
  font-size: 0.6875rem; font-weight: 600;
  padding: 0.175rem 0.5rem;
  border-radius: var(--bh-radius-full);
  text-transform: uppercase; letter-spacing: 0.04em;
  white-space: nowrap;
}
.site-nav a {
  color: var(--muted-foreground); font-size: 0.9375rem; font-weight: 500;
  text-decoration: none;
}
.site-nav a:hover { color: var(--foreground); }

.site-signin {
  color: var(--foreground); font-size: 0.9375rem; font-weight: 500;
  text-decoration: none;
}
.site-signin:hover { text-decoration: underline; }

/* Solid near-black CTA button (matches mockup's primary action) */
/* btn-dark inverts in dark mode (token-driven) — black on light bg, white on dark bg.
   Tokens are defined in bhowra-tokens.css and switch automatically. */
.btn-dark {
  background: var(--btn-dark-bg);
  color: var(--btn-dark-fg);
  border: 1px solid var(--btn-dark-bg);
}
.btn-dark:hover {
  background: var(--btn-dark-bg-hover);
  border-color: var(--btn-dark-bg-hover);
  opacity: 1;
}

/* ---- Hero ----------------------------------------------------------- */
.section-hero { padding: 6rem 0 5rem; text-align: center; }
.hero-eyebrow {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border: 1px solid var(--primary);
  border-radius: var(--bh-radius-full);
  background: rgba(124, 92, 255, 0.1);
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 500;
  margin: 0 0 1.5rem;
}
.hero-title {
  font-size: 3.5rem; line-height: 1.1; margin: 0 0 1.25rem;
  max-width: 52rem; margin-inline: auto;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.hero-title-accent {
  background: var(--hero-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-subtitle {
  font-size: 1.125rem; color: var(--muted-foreground);
  max-width: 36rem; margin: 0 auto 2rem;
}
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---- Trust strip ---------------------------------------------------- */
.trust-strip-label,
.metrics-strip-label {
  text-align: center; text-transform: uppercase; letter-spacing: 0.08em;
  font-size: 0.8125rem; color: var(--muted-foreground); margin-bottom: 1.5rem;
}
.trust-strip-logos {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 2.5rem;
  font-family: var(--font-mono); font-size: 0.9375rem;
  color: var(--foreground); opacity: 0.85;
}
.trust-strip-footnote {
  text-align: center; margin-top: 2rem;
  font-size: 0.875rem; color: var(--muted-foreground);
}

/* ---- Capability metrics --------------------------------------------- */
.metrics-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem; margin: 0; padding: 0;
}
.metric { text-align: center; padding: 1.5rem 1rem; }
.metric-value {
  font-family: var(--font-mono); font-size: 3rem; font-weight: 600;
  color: var(--foreground); line-height: 1; margin: 0 0 0.75rem 0;
}
.metric-label {
  margin: 0; font-size: 1rem; font-weight: 500;
  color: var(--foreground);
  display: flex; flex-direction: column; gap: 0.5rem;
}
.metric-detail {
  font-size: 0.8125rem; font-weight: 400;
  color: var(--muted-foreground); line-height: 1.5;
}

/* ---- Three-column "Why" --------------------------------------------- */
.three-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
}
.three-col h3 { font-size: 1.25rem; margin: 0 0 0.75rem; }
.three-col p { color: var(--muted-foreground); margin: 0; }

/* ---- Module grid (8 cards with pastel icon tiles) ------------------- */
.section-eyebrow {
  text-align: center;
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}
.section-title { font-size: 2.25rem; text-align: center; margin: 0 0 1rem; letter-spacing: -0.015em; }
.section-lede {
  text-align: center;
  color: var(--muted-foreground);
  font-size: 1.0625rem;
  max-width: 38rem;
  margin: 0 auto 3.5rem;
}
.module-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
@media (max-width: 960px) { .module-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .module-grid { grid-template-columns: 1fr; } }
.module-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--bh-radius-lg);
  background: var(--card);
  color: var(--foreground);
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
  display: block;
}
.module-card:hover {
  border-color: var(--primary);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}
.module-icon {
  width: 2.75rem; height: 2.75rem;
  border-radius: var(--bh-radius-md);
  display: grid; place-items: center;
  margin-bottom: 1.25rem;
}
.module-icon svg { width: 1.25rem; height: 1.25rem; stroke-width: 2; }
.module-icon-peach  { background: var(--bh-pastel-peach); }
.module-icon-peach  svg { stroke: var(--bh-icon-peach); }
.module-icon-mint   { background: var(--bh-pastel-mint); }
.module-icon-mint   svg { stroke: var(--bh-icon-mint); }
.module-icon-lilac  { background: var(--bh-pastel-lilac); }
.module-icon-lilac  svg { stroke: var(--bh-icon-lilac); }
.module-icon-pink   { background: var(--bh-pastel-pink); }
.module-icon-pink   svg { stroke: var(--bh-icon-pink); }
.module-icon-butter { background: var(--bh-pastel-butter); }
.module-icon-butter svg { stroke: var(--bh-icon-butter); }
.module-icon-sky    { background: var(--bh-pastel-sky); }
.module-icon-sky    svg { stroke: var(--bh-icon-sky); }
.module-card h4 { margin: 0 0 0.375rem; font-size: 1.0625rem; font-weight: 600; }
.module-card p { margin: 0; color: var(--muted-foreground); font-size: 0.9375rem; }

/* Differentiator grid — bigger cards, longer copy, 3-up on desktop */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 960px) { .diff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .diff-grid { grid-template-columns: 1fr; } }
.diff-card {
  padding: 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--bh-radius-lg);
}
.diff-card h4 {
  margin: 0 0 0.625rem;
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.diff-card p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ---- Founder note --------------------------------------------------- */
.founder-note-card {
  display: grid; grid-template-columns: 120px 1fr; gap: 2rem;
  padding: 2.5rem; border: 1px solid var(--border);
  border-radius: var(--bh-radius-lg); background: var(--card);
}
@media (max-width: 640px) {
  .founder-note-card { grid-template-columns: 1fr; text-align: center; }
}
.founder-note-avatar-placeholder {
  width: 120px; height: 120px; border-radius: var(--bh-radius-full);
  background: var(--accent); color: var(--accent-foreground);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 2.5rem; font-weight: 600;
  margin: 0 auto;
}
.founder-note-label {
  text-transform: uppercase; letter-spacing: 0.08em;
  font-size: 0.75rem; color: var(--muted-foreground); margin: 0 0 0.75rem;
}
.founder-note-quote {
  margin: 0 0 1.5rem; font-size: 1.0625rem; line-height: 1.65;
  border: none; padding: 0; color: var(--foreground);
}
.founder-note-signature {
  display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.9375rem;
}
.founder-note-signature strong { color: var(--foreground); }
.founder-note-signature span { color: var(--muted-foreground); }
.founder-note-cta { margin-top: 0.75rem; color: var(--primary); font-weight: 500; }

/* ---- Pricing -------------------------------------------------------- */
.section-header { text-align: center; max-width: 42rem; margin: 0 auto 3rem; }
.section-subtitle { color: var(--muted-foreground); font-size: 1.0625rem; }
/* Simple single-line founding offer (used on pricing.html) */
.founding-offer {
  max-width: 48rem; margin: 0 auto 3rem; padding: 1rem 1.5rem;
  border: 1px solid var(--primary); border-radius: var(--bh-radius-md);
  background: rgba(124, 92, 255, 0.08);
  text-align: center; font-size: 0.9375rem;
}
.founding-offer a { color: var(--primary); font-weight: 500; }

/* Founding-cohort highlighted box (used on index.html #customers section) */
.founding-cohort {
  max-width: 60rem;
  margin: 0 auto;
  padding: 2.5rem 2.5rem 2rem;
  border: 2px solid var(--primary);
  border-radius: var(--bh-radius-lg);
  background: linear-gradient(135deg,
    rgba(124, 92, 255, 0.06) 0%,
    rgba(217, 70, 239, 0.04) 100%);
  box-shadow: 0 12px 32px rgba(124, 92, 255, 0.08);
}
.founding-cohort-header { text-align: center; margin-bottom: 2rem; }
.founding-cohort-badge {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  border-radius: var(--bh-radius-full);
  margin-bottom: 1rem;
}
.founding-cohort-title {
  font-size: 1.625rem;
  margin: 0 0 0.625rem;
  letter-spacing: -0.015em;
  color: var(--foreground);
}
.founding-cohort-sub {
  color: var(--muted-foreground);
  margin: 0 auto;
  max-width: 38rem;
  font-size: 0.9375rem;
  line-height: 1.55;
}
.founding-cohort-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 2rem;
}
.founding-cohort-perks li {
  position: relative;
  padding-left: 2rem;
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.55;
}
.founding-cohort-perks li::before {
  content: "\2713";
  position: absolute;
  left: 0; top: 0.125rem;
  width: 1.375rem; height: 1.375rem;
  background: var(--primary);
  color: var(--primary-foreground);
  border-radius: var(--bh-radius-full);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}
.founding-cohort-perks li strong {
  display: block;
  color: var(--foreground);
  margin-bottom: 0.25rem;
  font-weight: 600;
  font-size: 1rem;
}
.founding-cohort-cta { text-align: center; }
.founding-cohort-meta {
  color: var(--muted-foreground);
  font-size: 0.8125rem;
  margin: 0.75rem 0 0;
}
@media (max-width: 720px) {
  .founding-cohort { padding: 1.75rem 1.5rem; }
  .founding-cohort-perks { grid-template-columns: 1fr; gap: 1rem; }
  .founding-cohort-title { font-size: 1.375rem; }
}
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.pricing-card {
  position: relative; padding: 2rem;
  border: 1px solid var(--border); border-radius: var(--bh-radius-lg);
  background: var(--card); display: flex; flex-direction: column;
}
.pricing-card-featured { border-color: var(--primary); border-width: 2px; }
.pricing-badge {
  position: absolute; top: -0.75rem; left: 50%; transform: translateX(-50%);
  padding: 0.25rem 0.75rem; background: var(--primary); color: var(--primary-foreground);
  font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
  border-radius: var(--bh-radius-full);
}
.pricing-tier { font-size: 1.25rem; margin: 0 0 0.25rem; }
.pricing-fit { color: var(--muted-foreground); font-size: 0.875rem; margin: 0 0 1.5rem; }
.pricing-price {
  display: flex; align-items: baseline; gap: 0.25rem;
  margin: 0 0 1.5rem; font-family: var(--font-mono);
}
.pricing-currency { font-size: 1.5rem; color: var(--muted-foreground); }
.pricing-amount { font-size: 3rem; font-weight: 600; line-height: 1; color: var(--foreground); }
.pricing-amount-custom { font-size: 2.25rem; font-weight: 600; color: var(--foreground); }
.pricing-period { font-size: 0.875rem; color: var(--muted-foreground); margin-left: 0.25rem; }
.pricing-features {
  list-style: none; padding: 0; margin: 0 0 2rem; flex: 1;
  display: flex; flex-direction: column; gap: 0.625rem;
}
.pricing-features li {
  font-size: 0.9375rem; color: var(--foreground);
  padding-left: 1.5rem; position: relative;
}
.pricing-features li::before {
  content: "\2713";
  position: absolute; left: 0; top: 0;
  color: var(--primary); font-weight: 600;
}
.compliance-note {
  max-width: 48rem; margin: 3rem auto 0; padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--muted-foreground); background: var(--muted);
  color: var(--muted-foreground); font-size: 0.875rem; line-height: 1.6;
}
.compliance-note strong { color: var(--foreground); }

/* ---- FAQ ------------------------------------------------------------ */
.faq { max-width: 48rem; margin: 4rem auto 0; }
.faq details { padding: 1.25rem 0; border-bottom: 1px solid var(--border); }
.faq summary {
  cursor: pointer; font-weight: 500; font-size: 1.0625rem;
  list-style: none; color: var(--foreground);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--muted-foreground); }
.faq details[open] summary::after { content: "\2212"; }
.faq p { color: var(--muted-foreground); margin: 1rem 0 0; }

/* ---- Products page anchor sections ---------------------------------- */
.product-section { padding: 4rem 0; border-bottom: 1px solid var(--border); }
.product-section h2 { font-size: 1.875rem; margin: 0 0 1rem; }
.product-section p { color: var(--muted-foreground); max-width: 42rem; }
.product-section ul { color: var(--foreground); padding-left: 1.25rem; }
.product-section ul li { margin: 0.5rem 0; }

/* ---- Contact form --------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 4rem; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-form label {
  display: flex; flex-direction: column; gap: 0.5rem;
  font-size: 0.875rem; color: var(--foreground);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--bh-radius-md);
  background: var(--card); color: var(--foreground);
  font: inherit;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.2);
}
.contact-form textarea { min-height: 8rem; resize: vertical; }
.contact-aside { font-size: 0.9375rem; color: var(--muted-foreground); }
.contact-aside h3 { color: var(--foreground); margin: 0 0 0.75rem; font-size: 1rem; }
.contact-aside p { margin: 0 0 1.5rem; }

/* ---- Footer --------------------------------------------------------- */
.site-footer { padding: 3rem 0; border-top: 1px solid var(--border); background: var(--muted); }
.site-footer-inner {
  display: grid; grid-template-columns: 2fr 2fr 1fr; gap: 2rem; align-items: start;
}
@media (max-width: 640px) {
  .site-footer-inner { grid-template-columns: 1fr; text-align: center; }
}
.site-footer-brand img { height: 1.5rem; margin-bottom: 0.75rem; }
.site-footer-brand p { color: var(--muted-foreground); margin: 0; font-size: 0.875rem; }
.site-footer-nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.site-footer-nav a { color: var(--muted-foreground); font-size: 0.9375rem; }
.site-footer-copyright {
  color: var(--muted-foreground); font-size: 0.8125rem;
  margin: 0; text-align: right;
}
@media (max-width: 640px) { .site-footer-copyright { text-align: center; } }

/* ======================================================================
   DESIGN POLISH (added 2026-05-26)
   ====================================================================== */

/* --- Card depth: subtle lift on all interactive cards ----------------- */
.diff-card, .module-card, .pricing-card {
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.diff-card:hover, .module-card:hover, .pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  border-color: rgba(124, 92, 255, 0.35);
}

/* --- Sticky header: stronger separation line + soft shadow ----------- */
.site-header {
  background: var(--surface-translucent);
  box-shadow: var(--shadow-sticky);
  border-bottom: none;
}

/* --- Metrics: wrap each number in a card with pastel hover ---------- */
.metric {
  padding: 2rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--bh-radius-lg);
  background: var(--card);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.metric:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
  border-color: rgba(124, 92, 255, 0.35);
}
.metric-value {
  background: var(--hero-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ======================================================================
   MOBILE NAV — hamburger toggle (CSS-only, uses :has() + checkbox hack)
   ====================================================================== */

.nav-toggle-input { display: none; }
.nav-toggle-label { display: none; }

@media (max-width: 900px) {
  /* Show hamburger button on mobile */
  .nav-toggle-label {
    display: grid;
    place-items: center;
    width: 2.5rem; height: 2.5rem;
    border-radius: var(--bh-radius-md);
    cursor: pointer;
    color: var(--foreground);
    order: -1;
  }
  .nav-toggle-label:hover { background: var(--muted); }
  .nav-toggle-label svg { width: 1.5rem; height: 1.5rem; }

  /* Header inner becomes positioning context for dropdown nav */
  .site-header-inner { position: relative; }

  /* Hide desktop nav, transform to vertical drop-down on toggle */
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--surface-dropdown);
    padding: 0.25rem 1.5rem 0.75rem;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
  }
  /* Toggle behaviour: when checkbox checked, show nav */
  .site-header:has(.nav-toggle-input:checked) .site-nav { display: flex; }

  /* Nav links stack vertically with dividers */
  .site-nav > a, .site-nav-trigger {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    display: block;
    font-size: 1rem;
    color: var(--foreground);
  }
  .site-nav > a:last-child { border-bottom: none; }
  .site-nav-dropdown { display: block; width: 100%; }

  /* Hide hover dropdown chevron + submenu on mobile (hover doesn't apply on touch) */
  .site-nav-trigger::after { display: none; }
  .site-nav-menu { display: none !important; }

  /* Hide "Sign in" text link on mobile to save space; keep "Try it now" CTA */
  .site-signin { display: none; }

  /* Header right cluster: just hamburger + Try it now button */
  .site-header-right { gap: 0.625rem; }
}

/* Disable hover dropdown on touch devices generally */
@media (hover: none) {
  .site-nav-dropdown:hover .site-nav-menu,
  .site-nav-dropdown:focus-within .site-nav-menu { display: none; }
}

/* ======================================================================
   MOBILE-FIRST RESPONSIVE OVERRIDES (improved)
   ====================================================================== */

/* Existing 640px overrides — extended */
@media (max-width: 640px) {
  .hero-title { font-size: 2rem; line-height: 1.15; }
  .hero-subtitle { font-size: 1rem; }
  .section { padding: 3rem 0; }
  .container, .container-narrow { padding: 0 1rem; }
  .section-title { font-size: 1.625rem; }
  .section-lede { font-size: 0.9375rem; margin-bottom: 2rem; }

  /* Hero CTAs stack on narrow screens, full-width buttons */
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; text-align: center; }

  /* Founder note: avatar centered above content */
  .founder-note-card { padding: 1.5rem; gap: 1rem; }
  .founder-note-avatar-placeholder { width: 80px; height: 80px; font-size: 1.75rem; }

  /* Pricing cards stack with comfortable spacing */
  .pricing-card { padding: 1.5rem; }

  /* Contact form: full width, comfortable input height */
  .contact-form input,
  .contact-form select,
  .contact-form textarea { padding: 0.875rem 1rem; font-size: 1rem; }

  /* Section CTA band tightens */
  .section-cta { padding: 3rem 0; }
}

/* Tablet breakpoint */
@media (min-width: 641px) and (max-width: 900px) {
  .hero-title { font-size: 2.5rem; }
  .section { padding: 4rem 0; }
}
