/* Grainee homepage — layout on top of base.css + landing.css */
main.home-main { max-width: 1120px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.home-hero { padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 64px); }
.home-hero-heading { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1rem; }
.home-hero-line { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; line-height: 1.1; }
.home-hero .lead {
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 52ch;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: normal;
}
.home-hero-platforms {
  color: var(--primary);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.14em;
  margin-bottom: 0.75rem;
}
.home-hero h1:not(.home-hero-heading) { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; line-height: 1.1; margin-bottom: 1rem; }
.home-hero .lead { margin-bottom: 0.75rem; }
.home-hero .support { color: var(--muted-2); font-size: 0.95rem; max-width: 58ch; margin-bottom: 1.5rem; }
.section-pad { padding: clamp(48px, 8vw, 80px) 0; }
.section-title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; margin-bottom: 1rem; }
main.home-main .section-title { text-align: center; }
.sub-center { text-align: center; color: var(--muted); max-width: 40rem; margin: 0 auto 2rem; }
.cards-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards-grid.cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .cards-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } .cards-grid.cols-6 { grid-template-columns: repeat(3, 1fr); } }
.flow-steps { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; justify-content: center; font-size: 0.9rem; color: var(--muted); margin-top: 1.5rem; }
.lc-root { margin-top: 1.25rem; }
.lc-search { padding: 1.25rem; position: relative; z-index: 50; }
.lc-input-wrap { position: relative; width: 100%; }
.lc-input-wrap { position: relative; width: 100%; }
.lc-input { width: 100%; min-height: 48px; font-size: 16px; margin-bottom: 0.5rem; }
.lc-search .lc-input {
  border: 1.5px solid var(--primary-border-2);
}
.lc-search .lc-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-fill);
}
@media (max-width: 767px) {
  .home-hero .home-hero-heading,
  .home-hero .lead,
  .home-hero .support,
  .home-hero-platforms {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  #compliance .badge {
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }

  .compliance-links {
    text-align: center;
  }

  .compliance-links a {
    display: inline-block;
    margin: 0 0.5rem 0.5rem;
  }

  #warning .grainee-diff-card,
  #warning .grainee-diff-card h3,
  #warning .grainee-diff-card p {
    text-align: center;
  }

  #warning .grainee-diff-card .btn {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: min(100%, 20rem);
  }

  .lc-hint {
    text-align: center;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
  }

  .lc-quick .section-title,
  .lc-form .section-title,
  .lc-success .section-title {
    text-align: center;
  }

  .lc-metric {
    text-align: center;
  }

  .lc-insights-lead {
    text-align: center;
  }

  .lc-insights-list {
    text-align: center;
    list-style-position: inside;
    padding-left: 0;
  }

  .lc-comp,
  .lc-comp .note {
    text-align: center;
  }

  .lc-offer-body,
  .lc-form > .note,
  .lc-success > p {
    max-width: 22rem;
  }

  .lc-offer .btn-primary,
  .lc-form .btn-primary {
    width: min(100%, 20rem);
  }

  .lc-search .lc-submit {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: min(100%, 20rem);
  }
}
.lc-suggestions { list-style: none; margin: 0; padding: 0; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--card); max-height: 240px; overflow: auto; position: absolute; left: 1.25rem; right: 1.25rem; z-index: 110; box-shadow: var(--shadow-md, 0 8px 24px rgba(0,0,0,.2)); }
.lc-suggestion { padding: 0.75rem 1rem; cursor: pointer; border-bottom: 1px solid var(--border); }
.lc-suggestion:hover, .lc-suggestion:focus { background: var(--card-2); outline: none; }
.lc-s-name { font-weight: 600; }
.lc-s-addr { font-size: 0.85rem; color: var(--muted); }
.lc-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0.75rem; margin: 1rem 0; }
.lc-metric { padding: 1rem; }
.lc-metric-label { font-size: 0.75rem; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.05em; }
.lc-metric-value { font-size: 1.25rem; font-weight: 700; margin-top: 0.25rem; }
.lc-insights { margin: 1.25rem 0; padding: 1.25rem 1.5rem; }
.lc-insights-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  text-align: center;
  color: var(--text-strong, var(--text));
}
.lc-insights-lead {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text);
}
.lc-insights-list { margin: 0.85rem 0 0; padding-left: 1.25rem; color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
.lc-insights-list li + li { margin-top: 0.35rem; }
.lc-comp { margin-top: 0.5rem; padding: 1rem; }
.lc-comp-name { font-weight: 600; margin-top: 0.25rem; }
.lc-comp-meta { font-size: 0.9rem; color: var(--muted); margin-top: 0.25rem; }
.lc-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.75rem 0; justify-content: center; }
.lc-tab.is-active { border-color: var(--primary); background: var(--primary-fill); }
.lc-offer, .lc-form, .lc-quick, .lc-success { margin-top: 1.5rem; }
.lc-offer,
.lc-form {
  text-align: center;
}
.lc-offer-body,
.lc-form > .note {
  text-align: center;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}
.lc-form .section-title {
  text-align: center;
}
.lc-offer .btn-primary,
.lc-form .btn-primary {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: min(100%, 22rem);
}
.lc-form .input {
  display: block;
  width: 100%;
  max-width: 22rem;
  margin-left: auto;
  margin-right: auto;
}
.lc-form .lc-err {
  text-align: center;
}
.lc-manual { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.lc-err { color: var(--destructive); font-size: 0.875rem; }
.hidden { display: none !important; }
.proof-section[hidden] { display: none !important; }
.warning-card { border-color: color-mix(in srgb, var(--destructive) 30%, var(--border)); }
#warning .grainee-diff-card {
  margin-top: 2rem;
  padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.25rem, 4vw, 2rem);
}
#warning .grainee-diff-card h3 { margin-top: 0; }
.compliance-links { font-size: 0.8rem; margin-top: 1rem; }
.compliance-links a { color: var(--muted); margin-right: 1rem; }
.cta-scroll { cursor: pointer; }
.product-teaser { height: 100%; }
