/* ===== Public Company Page ===== */
.pub {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.pub-nav {
  padding: 22px 36px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg);
}

.pub-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pub-brand__logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 20px;
  overflow: hidden;
}

.pub-brand__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pub-brand__name {
  font-family: 'Unbounded', sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.pub-brand__sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

.pub-hero {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 80px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pub-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(255, 90, 31, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 90, 31, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.pub-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.pub-hero__tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 24px;
}

.pub-hero__title {
  font-family: 'Unbounded', sans-serif;
  font-weight: 600;
  font-size: clamp(36px, 6vw, 64px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 24px;
}

.pub-hero__desc {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 32px;
}

.pub-sites {
  padding: 80px 36px;
  background: var(--bg-elev);
  border-top: 1px solid var(--line);
}

.pub-sites__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.pub-sites__title {
  font-family: 'Unbounded', sans-serif;
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

.pub-sites__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.pub-site {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color 0.2s, transform 0.2s;
}

.pub-site:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.pub-site__name {
  font-family: 'Unbounded', sans-serif;
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 6px;
}

.pub-site__url {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  word-break: break-all;
}

.pub-footer {
  padding: 30px 36px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg);
  font-size: 13px;
  color: var(--muted);
}

.pub-footer a {
  color: var(--accent);
  text-decoration: none;
}

.pub-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 700px) {
  .pub-nav,
  .pub-hero,
  .pub-sites,
  .pub-footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  .pub-footer {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
