/* Loamcrew landing page — brand and identity.md §3 palette, same dark
   theme as the app (app/global.css) so the two feel like one product.
   Plain CSS, no build step, so this deploys as-is to Vercel/Netlify/GitHub
   Pages. */

:root {
  --loam-black: #1c1b18;
  --primary-accent: #00bf16; /* same value app/global.css now uses for --primary */
  --lichen-lime: #a3e635;
  --evergreen-canopy: #24382f;
  --trail-dust: #f4f3ef;
  --granite-slate: #97a3b4;
  --card: #272521;
  --border: #37352f;

  /* One family for both display and body (brand and identity.md §3's
     Outfit-based system) rather than a separate display face. */
  --font-heading: 'Outfit', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Outfit', ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--loam-black);
  color: var(--trail-dust);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

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

/* ---------- Nav ---------- */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid var(--border);
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--trail-dust);
}

.wordmark.small {
  font-size: 1rem;
}

.wordmark-icon {
  border-radius: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 28px);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a {
  text-decoration: none;
  color: var(--trail-dust);
  opacity: 0.85;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-cta {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--primary-accent);
  /* Loam Black, not Trail Dust — --primary-accent is a bright lime now,
     light text on it would be nearly unreadable. */
  color: var(--loam-black) !important;
  opacity: 1 !important;
}

/* Below this width the wordmark + full nav-links row no longer fits on
   one line and wraps into an overlapping mess — drop the section jump
   links and keep just the CTA next to the wordmark. */
@media (max-width: 560px) {
  .nav-links a:not(.nav-cta) {
    display: none;
  }
}

/* ---------- Buttons ---------- */

.button {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
}

.button-primary {
  background: var(--primary-accent);
  color: var(--loam-black); /* see .nav-cta's comment — same reasoning */
}

.button-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--trail-dust);
}

/* ---------- Hero ---------- */

.hero {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(56px, 12vw, 120px) 24px clamp(40px, 8vw, 80px);
  text-align: center;
}

.eyebrow {
  color: var(--primary-accent);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.hero-sub {
  margin: 24px auto 0;
  max-width: 520px;
  font-size: 1.1rem;
  color: var(--granite-slate);
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 36px;
}

/* ---------- Positioning ("It IS / It IS NOT") ---------- */

.positioning {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 680px) {
  .positioning {
    grid-template-columns: 1fr;
  }
}

.positioning-card {
  border-radius: 16px;
  padding: 28px;
  border: 1px solid var(--border);
  background: var(--card);
}

.positioning-card.is {
  border-color: var(--lichen-lime);
}

.positioning-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.positioning-card.is .positioning-label {
  color: var(--lichen-lime);
}

.positioning-card.isnot .positioning-label {
  color: var(--granite-slate);
}

.positioning-card p:last-child {
  color: var(--trail-dust);
  font-size: 1.05rem;
}

/* ---------- Shared section chrome ---------- */

section h2 {
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  text-align: center;
}

.section-sub {
  text-align: center;
  color: var(--granite-slate);
  max-width: 520px;
  margin: 14px auto 0;
}

/* ---------- Features ---------- */

.features {
  max-width: 1080px;
  margin: 0 auto;
  padding: 80px 24px;
}

.feature-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 16px;
  padding: 22px;
}

.feature-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--lichen-lime);
}

.feature-desc {
  margin-top: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--granite-slate);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.feature-detail {
  margin-top: 12px;
  color: var(--trail-dust);
  font-size: 0.95rem;
}

/* ---------- Voice / tone comparison ---------- */

.voice {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px 90px;
}

.voice-table {
  margin-top: 40px;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.voice-row {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1.6fr;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
}

.voice-row:last-child {
  border-bottom: none;
}

.voice-row-head {
  background: var(--evergreen-canopy);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--granite-slate);
}

.voice-row:not(.voice-row-head) > span:first-child {
  font-weight: 600;
  color: var(--granite-slate);
}

.traditional {
  color: var(--granite-slate);
  font-style: italic;
}

.loamcrew {
  color: var(--lichen-lime);
  font-weight: 500;
}

@media (max-width: 700px) {
  .voice-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .voice-row-head {
    display: none;
  }
  .voice-row:not(.voice-row-head) > span:first-child {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
}

/* ---------- Waitlist ---------- */

.waitlist {
  max-width: 560px;
  margin: 0 auto;
  padding: 20px 24px 120px;
  text-align: center;
}

.waitlist-form {
  margin-top: 32px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.waitlist-form input {
  flex: 1;
  min-width: 220px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--trail-dust);
  font-family: var(--font-body);
  font-size: 1rem;
}

.waitlist-form input::placeholder {
  color: var(--granite-slate);
}

.waitlist-form input:focus {
  outline: none;
  border-color: var(--primary-accent);
}

.waitlist-form button {
  cursor: pointer;
  font-family: var(--font-body);
}

.waitlist-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--granite-slate);
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--border);
  padding: 32px clamp(20px, 5vw, 64px) 48px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-tagline {
  color: var(--granite-slate);
  font-size: 0.9rem;
}

.footer-copy {
  color: var(--granite-slate);
  font-size: 0.8rem;
}
