
/*
 * Homepage mobile finalization
 * Keeps the brand system but removes stacked repetition on small screens.
 */
@media (max-width: 720px) {
  .hero-home {
    padding: 32px 0 24px;
  }

  .hero-grid {
    gap: 18px;
  }

  .hero-copy-column > .section-kicker {
    margin-bottom: 8px;
  }

  .hero-brand-lockup {
    display: none;
  }

  .hero-copy-column h1,
  .hero h1 {
    font-size: clamp(2.18rem, 11vw, 2.65rem);
    line-height: 0.96;
  }

  .hero-intro {
    max-width: 34rem;
    margin-top: 12px;
    font-size: 0.95rem;
    line-height: 1.52;
  }

  .hero-copy-column .hero-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
  }

  .hero-copy-column .hero-actions .button {
    width: auto;
    min-height: 38px;
    font-size: 0.78rem;
  }

  .hero-copy-column .hero-actions .button-primary {
    flex: 1 1 100%;
    justify-content: center;
    min-height: 42px;
  }

  .hero-copy-column .hero-actions .button-secondary,
  .hero-copy-column .hero-actions .button-ghost {
    flex: 1 1 auto;
    justify-content: flex-start;
    min-height: 30px;
    padding: 0;
    border-color: transparent;
    background: transparent;
    color: rgba(230, 233, 235, 0.84);
    box-shadow: none;
  }

  .quick-search {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
    margin-top: 14px;
    padding: 6px;
    border-radius: 16px;
  }

  .quick-search input {
    min-height: 42px;
    padding-inline: 12px;
    font-size: 0.82rem;
  }

  .quick-search .button {
    min-width: 76px;
    min-height: 42px;
    padding-inline: 12px;
    font-size: 0.75rem;
  }

  .quick-searches {
    gap: 7px;
    margin-top: 10px;
  }

  .quick-searches .quick-chip:nth-child(n+4) {
    display: none;
  }

  .quick-chip {
    min-height: 29px;
    padding-inline: 9px;
    font-size: 0.74rem;
  }

  .hero-trust-inline {
    display: none;
  }

  .hero-console {
    padding: 16px;
    border-radius: 18px;
  }

  .hero-console-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .hero-console-status {
    min-height: 28px;
    padding-inline: 9px;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
  }

  .hero-console-header {
    margin-top: 12px;
  }

  .hero-console-header h2 {
    max-width: none;
    font-size: 1.36rem;
    line-height: 1.08;
  }

  .hero-console-header p {
    margin-top: 7px;
    font-size: 0.84rem;
    line-height: 1.44;
  }

  .hero-console-body.hero-trust-list,
  .hero-trust-list {
    gap: 7px;
    margin-top: 12px;
  }

  .hero-console-note {
    padding: 10px 10px 10px 12px;
  }

  .hero-console-note .panel-label,
  .hero-console-note p {
    margin-left: 9px;
  }

  .hero-console-note .panel-label {
    font-size: 0.58rem;
    letter-spacing: 0.13em;
  }

  .hero-console-note p {
    font-size: 0.8rem;
    line-height: 1.38;
  }

  .hero-dossier-strip {
    display: none;
  }

  .hero-console-links {
    gap: 10px;
    margin-top: 12px;
    padding-top: 12px;
  }

  .hero-console-links a {
    font-size: 0.7rem;
  }

  .home-shell .section {
    padding: 18px 0;
  }

  .home-section-shell {
    padding: 16px;
  }

  .section-head,
  .section-head-inline {
    gap: 8px;
    margin-bottom: 14px;
  }

  .section-head h2,
  .section-title h2 {
    font-size: 1.68rem;
    line-height: 1.05;
  }

  .section-head .section-intro {
    font-size: 0.9rem;
    line-height: 1.48;
  }

  .section-link {
    min-height: 30px;
    padding-inline: 10px;
    font-size: 0.72rem;
  }

  .section-discovery .home-path-grid {
    display: grid;
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(173, 178, 182, 0.12);
    border-radius: 16px;
    background: rgba(3, 6, 11, 0.22);
  }

  .section-discovery .feature-card {
    gap: 8px;
    padding: 14px;
    border: 0;
    border-top: 1px solid rgba(173, 178, 182, 0.1);
    border-radius: 0;
    background: transparent;
  }

  .section-discovery .feature-card:first-child {
    border-top: 0;
    background: linear-gradient(135deg, rgba(200, 184, 141, 0.32), rgba(3, 6, 11, 0.08));
  }

  .section-discovery .feature-card h3 {
    font-size: 1.18rem;
  }

  .section-discovery .feature-card p {
    margin: 0;
  }

  .section-discovery .feature-card .article-card-note,
  .section-discovery .feature-card .badges {
    display: none;
  }

  .section-discovery .feature-card .tool-card-footer {
    display: flex;
    gap: 8px;
    margin-top: 4px;
  }

  .section-discovery .feature-card .tool-card-footer .button {
    width: auto;
    min-height: 32px;
    padding-inline: 10px;
    font-size: 0.7rem;
  }

  .home-feature-grid,
  .home-collection-grid {
    gap: 12px;
  }

  .featured-tool-card,
  .collection-card {
    gap: 8px;
    padding: 14px;
  }

  .feature-card h3,
  .tool-card h3,
  .collection-card h3,
  .article-card h2,
  .article-card h3 {
    font-size: 1.3rem;
  }

  .home-feature-grid .tool-card-summary,
  .home-feature-grid .article-card-note,
  .home-collection-grid .collection-card > p:not(.card-meta) {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .home-feature-grid .badges,
  .home-collection-grid .article-card-note {
    display: none;
  }

  .home-feature-grid .tool-card-footer,
  .home-collection-grid .tool-card-footer {
    margin-top: 2px;
  }

  .home-feature-grid .tool-card-footer .button,
  .home-collection-grid .tool-card-footer .button {
    min-height: 34px;
    font-size: 0.7rem;
  }

  .method-grid {
    gap: 8px;
    margin-top: 14px;
  }

  .method-grid > div {
    padding: 12px;
  }

  .method-grid h3 {
    font-size: 1rem;
  }

  .contribute-points {
    gap: 7px;
    margin-top: 12px;
  }

  .site-footer {
    padding: 32px 0 24px;
  }

  .site-footer-shell {
    gap: 20px;
  }

  .footer-brand {
    gap: 10px;
  }

  .footer-brand p {
    font-size: 0.86rem;
    line-height: 1.55;
  }

  .footer-newsletter {
    padding: 16px;
  }

  .footer-newsletter-copy h3 {
    font-size: 1.25rem;
  }

  .footer-newsletter .newsletter-form {
    gap: 10px;
  }
}

@media (max-width: 430px) {
  .hero-copy-column h1,
  .hero h1 {
    font-size: 2.18rem;
  }

  .quick-search {
    grid-template-columns: 1fr;
  }

  .quick-search .button {
    width: 100%;
  }
}
