/*
 * Production frontend focus pass: make the homepage and tools archive more
 * visual, less text-heavy, and easier to scan under deadline pressure.
 */
.hero-home {
  min-height: calc(92svh - 68px);
  padding: clamp(64px, 7vw, 94px) 0 clamp(52px, 6vw, 78px);
  background:
    radial-gradient(circle at 72% 22%, rgba(200, 184, 141, 0.1), transparent 26rem),
    radial-gradient(circle at 18% 14%, rgba(122, 167, 138, 0.08), transparent 24rem),
    linear-gradient(180deg, #090b0f 0%, #0b0d12 58%, #090b0f 100%);
}

.hero-home::before {
  background-size: 32px 32px;
  opacity: 0.11;
}

.hero-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.88fr);
  gap: clamp(34px, 5vw, 78px);
}

.hero-copy-column {
  max-width: 760px;
}

.hero-copy-column h1 {
  max-width: 12.5ch;
  font-size: clamp(3rem, 5.4vw, 5.65rem);
  line-height: 0.96;
}

.hero-intro {
  max-width: 42rem;
  color: rgba(238, 240, 242, 0.72);
  font-size: clamp(1rem, 1.15vw, 1.13rem);
  line-height: 1.62;
}

.quick-search {
  max-width: 720px;
  border-radius: 9px;
  border-color: rgba(238, 240, 242, 0.12);
  background: rgba(17, 19, 24, 0.92);
  box-shadow: none;
}

.quick-search input {
  border-color: transparent;
  background: rgba(255, 255, 255, 0.03);
}

.quick-searches {
  max-width: 720px;
}

.quick-chip {
  min-height: 34px;
  border-color: rgba(238, 240, 242, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  color: rgba(238, 240, 242, 0.66);
  font-size: 0.78rem;
}

.quick-chip:hover,
.quick-chip:focus-visible {
  border-color: rgba(200, 184, 141, 0.5);
  color: rgba(246, 246, 244, 0.94);
}

.hero-trust-inline {
  gap: 14px 20px;
}

.hero-visual-proofwall {
  align-self: stretch;
  display: grid;
  align-items: center;
}

.hero-proofwall {
  position: relative;
  overflow: hidden;
  padding: clamp(14px, 1.6vw, 20px);
  border: 1px solid rgba(238, 240, 242, 0.11);
  border-radius: 10px;
  background:
    linear-gradient(rgba(238, 240, 242, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 240, 242, 0.028) 1px, transparent 1px),
    #111318;
  background-size: 28px 28px, 28px 28px, auto;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.32);
}

.hero-proofwall::before {
  content: "";
  position: absolute;
  inset: -40% 0 auto;
  height: 46%;
  background: linear-gradient(180deg, transparent, rgba(200, 184, 141, 0.12), transparent);
  transform: translateY(-80%);
  pointer-events: none;
}

.hero-proofwall-head,
.hero-proofwall-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.hero-proofwall-head {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(238, 240, 242, 0.1);
}

.hero-proofwall-head h2 {
  max-width: 14ch;
  margin: 4px 0 0;
  font-size: clamp(1.35rem, 1.9vw, 2rem);
  line-height: 1.06;
}

.hero-proofwall-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(122, 167, 138, 0.26);
  border-radius: 999px;
  color: rgba(238, 240, 242, 0.78);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-proofwall-status span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #7aa78a;
  box-shadow: 0 0 0 6px rgba(122, 167, 138, 0.11);
}

.hero-proofwall-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.hero-proofwall-card {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: end;
  min-height: 142px;
  padding: 12px;
  border: 1px solid rgba(238, 240, 242, 0.1);
  border-radius: 8px;
  color: #f4f1e9;
  background:
    radial-gradient(circle at 18% 18%, rgba(200, 184, 141, 0.12), transparent 9rem),
    #0d0f14;
  isolation: isolate;
}

.hero-proofwall-card:first-child {
  grid-column: span 2;
  min-height: clamp(210px, 22vw, 286px);
}

.hero-proofwall-card:hover,
.hero-proofwall-card:focus-visible {
  color: #fff;
  text-decoration: none;
  border-color: rgba(200, 184, 141, 0.42);
}

.hero-proofwall-image,
.hero-proofwall-scrim {
  position: absolute;
  inset: 0;
}

.hero-proofwall-image {
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0.72;
  filter: saturate(0.82) contrast(1.05);
}

.hero-proofwall-scrim {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(5, 6, 9, 0.12), rgba(5, 6, 9, 0.32) 40%, rgba(5, 6, 9, 0.9)),
    radial-gradient(circle at 80% 10%, rgba(200, 184, 141, 0.15), transparent 12rem);
}

.hero-proofwall-mark {
  position: absolute;
  top: 10px;
  left: 10px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(238, 240, 242, 0.2);
  border-radius: 8px;
  color: #111318;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.hero-proofwall-mark img {
  width: 100%;
  height: 100%;
  padding: 7px;
  object-fit: contain;
}

.hero-proofwall-mark > span {
  font-family: var(--o4-font-ui);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.06em;
}

.hero-proofwall-card strong,
.hero-proofwall-card small {
  position: relative;
  z-index: 1;
}

.hero-proofwall-card strong {
  display: -webkit-box;
  overflow: hidden;
  max-width: 16rem;
  font-size: clamp(1rem, 1.25vw, 1.22rem);
  line-height: 1.08;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hero-proofwall-card small {
  margin-top: 6px;
  color: rgba(238, 240, 242, 0.62);
  font-size: 0.72rem;
}

.hero-proofwall-footer {
  padding-top: 13px;
  border-top: 1px solid rgba(238, 240, 242, 0.1);
}

.hero-proofwall-footer span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(238, 240, 242, 0.66);
  font-size: 0.72rem;
  font-weight: 760;
}
