/* ArchAgora brand assets + public welcome/about experience */
.brand.real-brand,
.auth-brand.real-brand,
.public-header-brand {
  min-width: 0;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  color: #171717;
}
.brand-lockup img { display: block; }
.brand-lockup-nav { gap: 8px; width: 100%; }
.brand-lockup-nav .brand-lockup-mark { width: 25px; height: 27px; object-fit: contain; flex: 0 0 auto; }
.brand-lockup-nav .brand-lockup-wordmark { width: 105px; height: auto; min-width: 0; }
.brand-lockup-auth { gap: 9px; }
.brand-lockup-auth .brand-lockup-mark { width: 27px; height: 29px; object-fit: contain; }
.brand-lockup-auth .brand-lockup-wordmark { width: 118px; height: auto; }
.brand-lockup-header { gap: 9px; }
.brand-lockup-header .brand-lockup-mark { width: 28px; height: 30px; object-fit: contain; }
.brand-lockup-header .brand-lockup-wordmark { width: 122px; height: auto; }
.brand-lockup-footer { gap: 8px; }
.brand-lockup-footer .brand-lockup-mark { width: 25px; height: 27px; object-fit: contain; }
.brand-lockup-footer .brand-lockup-wordmark { width: 112px; height: auto; }

.brand.real-brand {
  padding-left: 15px;
  padding-right: 13px;
}
.auth-brand.real-brand { text-decoration: none; }

body.public-marketing-body {
  min-width: 0;
  overflow-x: hidden;
  background: #f4f1e9;
}

.public-marketing {
  --public-ink: #151515;
  --public-muted: #6f6b63;
  --public-bg: #f4f1e9;
  --public-paper: #fbfaf6;
  --public-line: #d7d1c7;
  min-height: 100vh;
  color: var(--public-ink);
  background: var(--public-bg);
}

/* Welcome */
.welcome-page {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
}
.welcome-page::before,
.welcome-page::after {
  content: '';
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(23,23,23,.055);
  border-radius: 50%;
}
.welcome-page::before { width: min(74vw, 1060px); aspect-ratio: 1; left: 50%; top: 48%; transform: translate(-50%, -50%); }
.welcome-page::after { width: min(52vw, 750px); aspect-ratio: 1; left: 50%; top: 48%; transform: translate(-50%, -50%); }
.welcome-main {
  position: relative;
  z-index: 1;
  width: min(820px, calc(100vw - 48px));
  margin: auto;
  padding: 70px 0 35px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.welcome-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 44px;
}
.welcome-mark {
  width: clamp(116px, 10vw, 158px);
  height: auto;
  margin-bottom: 27px;
  opacity: 0;
  transform: scale(.84) rotate(-5deg);
  filter: blur(7px);
  animation: archagora-mark-arrive 1.2s cubic-bezier(.2,.75,.18,1) .08s forwards;
}
.welcome-wordmark {
  width: clamp(270px, 27vw, 390px);
  height: auto;
  opacity: 0;
  clip-path: inset(0 50% 0 50%);
  animation: archagora-word-reveal .95s cubic-bezier(.2,.75,.18,1) .55s forwards;
}
.welcome-network {
  margin-top: 9px;
  text-transform: uppercase;
  letter-spacing: .24em;
  font-size: 10px;
  color: #4c4943;
  opacity: 0;
  transform: translateY(6px);
  animation: archagora-fade-up .65s ease .95s forwards;
}
.welcome-copy {
  opacity: 0;
  transform: translateY(10px);
  animation: archagora-fade-up .72s ease 1.05s forwards;
}
.welcome-copy h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 3.2vw, 50px);
  line-height: 1;
  letter-spacing: -.055em;
  font-weight: 600;
}
.welcome-copy p {
  max-width: 570px;
  margin: 0 auto;
  color: var(--public-muted);
  font-size: 14px;
  line-height: 1.65;
}
.welcome-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 29px;
  opacity: 0;
  transform: translateY(8px);
  animation: archagora-fade-up .65s ease 1.18s forwards;
}
.public-button {
  min-width: 124px;
  height: 42px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid var(--public-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .01em;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.public-button:hover { transform: translateY(-1px); }
.public-button.primary { background: var(--public-ink); color: #fff; }
.public-button.primary:hover { background: #000; }
.public-button.secondary { background: transparent; color: var(--public-ink); }
.public-button.secondary:hover { background: rgba(23,23,23,.045); }
.welcome-about {
  margin-top: 20px;
  padding: 4px 2px;
  color: #4d4942;
  font-size: 11px;
  border-bottom: 1px solid #9b958a;
  opacity: 0;
  animation: archagora-fade-up .65s ease 1.3s forwards;
}
.welcome-footer {
  position: relative;
  z-index: 1;
  min-height: 58px;
  padding: 0 32px 25px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.public-socials,
.about-footer-links {
  display: flex;
  align-items: center;
  gap: 22px;
}
.public-social-link,
.about-footer-links a {
  font-size: 10px;
  color: #59554e;
}
a.public-social-link:hover,
.about-footer-links a:hover { color: #111; }
.public-social-link.is-pending { cursor: default; }

@keyframes archagora-mark-arrive {
  to { opacity: 1; transform: scale(1) rotate(0); filter: blur(0); }
}
@keyframes archagora-word-reveal {
  to { opacity: 1; clip-path: inset(0 0 0 0); }
}
@keyframes archagora-fade-up {
  to { opacity: 1; transform: translateY(0); }
}

/* Public About */
.about-public-page { background: #f6f3ec; }
.public-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 66px;
  padding: 0 clamp(24px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(23,23,23,.12);
  background: rgba(246,243,236,.92);
  backdrop-filter: blur(14px);
}
.public-header-brand { display: inline-flex; align-items: center; }
.public-header-nav { display: flex; align-items: center; gap: 22px; font-size: 10px; font-weight: 700; }
.public-header-nav a:not(.public-header-cta):hover { text-decoration: underline; text-underline-offset: 4px; }
.public-header-cta { padding: 8px 12px; border: 1px solid #171717; border-radius: 5px; }
.public-header-cta:hover { background: #171717; color: #fff; }
.about-main { width: min(1180px, calc(100vw - 64px)); margin: 0 auto; }
.about-hero {
  min-height: 610px;
  padding: 118px 0 96px;
  display: grid;
  grid-template-columns: minmax(190px, 270px) 1fr;
  grid-template-rows: auto auto 1fr;
  column-gap: clamp(50px, 8vw, 120px);
  align-items: start;
  border-bottom: 1px solid var(--public-line);
}
.about-hero-mark-wrap { grid-row: 1 / 4; display: flex; justify-content: center; padding-top: 5px; }
.about-hero-mark { width: min(210px, 17vw); height: auto; opacity: .94; }
.about-eyebrow,
.about-section-kicker {
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 9px;
  font-weight: 700;
  color: #68635b;
}
.about-hero h1 {
  max-width: 750px;
  margin: 0;
  font-size: clamp(48px, 6vw, 88px);
  line-height: .94;
  letter-spacing: -.065em;
  font-weight: 500;
}
.about-lede {
  max-width: 650px;
  margin: 35px 0 0;
  color: #5d5952;
  font-size: 17px;
  line-height: 1.58;
}
.about-section { padding: 92px 0; border-bottom: 1px solid var(--public-line); }
.about-section h2,
.about-final h2 {
  margin: 0;
  font-size: clamp(34px, 4.2vw, 62px);
  line-height: 1.03;
  letter-spacing: -.055em;
  font-weight: 500;
}
.about-pill-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 42px; }
.about-pill-grid span {
  padding: 11px 15px;
  border: 1px solid #bbb5aa;
  border-radius: 999px;
  font-size: 11px;
  background: rgba(255,255,255,.28);
}
.about-why { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(45px, 8vw, 120px); }
.about-why p:last-child { margin: 42px 0 0; color: #5e5a53; font-size: 14px; line-height: 1.75; }
.about-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 38px; border-top: 1px solid var(--public-line); border-left: 1px solid var(--public-line); }
.about-feature-grid article { min-height: 210px; padding: 26px; border-right: 1px solid var(--public-line); border-bottom: 1px solid var(--public-line); }
.about-feature-grid article > span { color: #8a847a; font-size: 9px; letter-spacing: .12em; }
.about-feature-grid h3 { margin: 54px 0 8px; font-size: 20px; font-weight: 600; letter-spacing: -.03em; }
.about-feature-grid p { margin: 0; color: #69645c; font-size: 11px; line-height: 1.55; }
.about-final {
  padding: 120px 0 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.about-network-lockup { display: flex; flex-direction: column; align-items: center; margin-bottom: 54px; }
.about-network-mark { width: 92px; height: auto; margin-bottom: 18px; }
.about-network-wordmark { width: 245px; height: auto; }
.about-network-lockup span { margin-top: 7px; text-transform: uppercase; letter-spacing: .23em; font-size: 7px; color: #5d5952; }
.about-final h2 { max-width: 720px; margin-bottom: 34px; }
.about-footer {
  min-height: 92px;
  padding: 25px clamp(24px, 5vw, 76px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--public-line);
  background: #eeebe3;
}
.about-footer small { justify-self: end; color: #777168; font-size: 9px; }

@media (max-width: 900px) {
  .welcome-page::before { width: 95vw; }
  .welcome-page::after { width: 72vw; }
  .about-main { width: min(100% - 40px, 760px); }
  .about-hero { min-height: auto; grid-template-columns: 1fr; padding: 78px 0 72px; }
  .about-hero-mark-wrap { grid-row: auto; justify-content: flex-start; margin-bottom: 45px; }
  .about-hero-mark { width: 120px; }
  .about-why { grid-template-columns: 1fr; }
  .about-why p:last-child { margin-top: 0; }
  .about-feature-grid { grid-template-columns: 1fr 1fr; }
  .about-footer { grid-template-columns: 1fr auto; }
  .about-footer-links { display: none; }
}

@media (max-width: 620px) {
  .welcome-main { width: calc(100vw - 34px); padding-top: 54px; }
  .welcome-logo { margin-bottom: 36px; }
  .welcome-actions { width: 100%; flex-direction: column; }
  .welcome-actions .public-button { width: 100%; max-width: 320px; }
  .public-header { padding: 0 18px; }
  .brand-lockup-header .brand-lockup-wordmark { width: 100px; }
  .public-header-nav { gap: 12px; }
  .about-main { width: calc(100% - 32px); }
  .about-hero h1 { font-size: 47px; }
  .about-feature-grid { grid-template-columns: 1fr; }
  .about-footer { grid-template-columns: 1fr; justify-items: center; }
  .about-footer small { justify-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  .welcome-mark,
  .welcome-wordmark,
  .welcome-network,
  .welcome-copy,
  .welcome-actions,
  .welcome-about {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
  }
}
