:root {
  --lr-bg: #f7faf8;
  --lr-surface: #ffffff;
  --lr-surface-soft: #eef7f2;
  --lr-ink: #101817;
  --lr-muted: #64736f;
  --lr-green: #08734f;
  --lr-green-dark: #035f41;
  --lr-gold: #f5b61f;
  --lr-border: #dce8e2;
  --lr-shadow: 0 18px 45px rgba(10, 44, 33, 0.11);
}

html {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--lr-bg);
  color: var(--lr-ink);
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(8, 115, 79, 0.09), transparent 36rem),
    linear-gradient(180deg, #ffffff 0%, var(--lr-bg) 44rem);
  color: var(--lr-ink);
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

button,
input,
textarea,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(220, 232, 226, 0.9);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
}

.site-header-inner {
  max-width: 1180px;
  height: 76px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--lr-green), #0b8a60);
  color: white;
  box-shadow: 0 10px 24px rgba(8, 115, 79, 0.25);
}

.brand-text {
  font-size: 21px;
  letter-spacing: 0;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-button,
.create-button,
.site-header button,
.home-page button,
.home-page a[role="button"],
.home-page a[href="/requests/new"],
.home-page a[href="/business"] {
  border: 0;
  border-radius: 8px;
  min-height: 42px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.create-button,
.home-page a[href="/requests/new"] {
  background: var(--lr-green);
  color: white;
  box-shadow: 0 12px 25px rgba(8, 115, 79, 0.22);
}

.nav-button {
  background: transparent;
  color: #1f2d2a;
}

.hero-section {
  border-bottom: 1px solid var(--lr-border);
}

.hero-inner {
  max-width: 1180px;
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: 56px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.8fr);
  gap: 42px;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.hero-title-block h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-title-block p {
  max-width: 650px;
  margin: 16px 0 0;
  color: var(--lr-muted);
  font-size: 18px;
  line-height: 1.7;
}

.hero-search {
  max-width: 790px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--lr-border);
  border-radius: 10px;
  box-shadow: var(--lr-shadow);
}

.hero-search button {
  min-height: 52px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.trust-card {
  padding: 18px;
  border: 1px solid var(--lr-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.trust-card svg {
  width: 28px;
  height: 28px;
  color: var(--lr-green);
}

.trust-card h2,
.trust-card p {
  margin: 0;
}

.trust-card h2 {
  margin-top: 10px;
  font-size: 15px;
}

.trust-card p {
  margin-top: 6px;
  color: var(--lr-muted);
  font-size: 14px;
  line-height: 1.5;
}

.hero-auth > div,
.hero-auth [class*="rounded-lg"] {
  border-radius: 10px;
  border: 1px solid var(--lr-border);
  background: white;
  box-shadow: var(--lr-shadow);
}

.category-section,
.featured-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 24px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-heading h2,
.featured-section h2 {
  margin: 0;
  font-size: 28px;
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--lr-muted);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.category-card,
.business-card,
.empty-card {
  border: 1px solid var(--lr-border);
  border-radius: 8px;
  background: white;
  box-shadow: 0 8px 24px rgba(18, 36, 31, 0.05);
}

.category-card {
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.category-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(18, 36, 31, 0.1);
}

.benefits-section {
  border-top: 1px solid var(--lr-border);
  border-bottom: 1px solid var(--lr-border);
  background: linear-gradient(90deg, #eff8f3, #fff8df);
}

.benefits-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.benefit-item {
  display: flex;
  gap: 16px;
}

.benefit-item svg {
  width: 28px;
  height: 28px;
  color: var(--lr-green);
}

.benefit-item h2,
.benefit-item p {
  margin: 0;
}

.benefit-item p {
  margin-top: 6px;
  color: var(--lr-muted);
  font-size: 14px;
  line-height: 1.55;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.mobile-nav {
  display: none;
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 36px 18px 96px;
  }

  .hero-search,
  .trust-grid,
  .category-grid,
  .benefits-grid,
  .featured-grid {
    grid-template-columns: 1fr;
  }

  .hero-title-block h1 {
    font-size: 44px;
  }

  .mobile-nav {
    display: block;
    position: fixed;
    inset: auto 0 0;
    z-index: 30;
    border-top: 1px solid var(--lr-border);
    background: white;
  }

  .mobile-nav-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
  }

  .mobile-nav-item {
    min-height: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--lr-muted);
    font-size: 11px;
    text-align: center;
  }
}
