/* ===== Sub page (legal/company/contact) layout ===== */
.subpage{
  background: var(--bg);
  min-height: 100vh;
  display: flex; flex-direction: column;
}
.subpage main{ flex: 1; }

.page-hero{
  position: relative;
  padding: calc(var(--header-h) + 60px) 0 60px;
  background:
    radial-gradient(60% 60% at 80% 20%, rgba(232,0,138,0.20) 0%, rgba(232,0,138,0) 70%),
    radial-gradient(60% 60% at 10% 90%, rgba(123,0,224,0.22) 0%, rgba(123,0,224,0) 70%),
    linear-gradient(180deg, #050003 0%, #000000 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero::after{
  content:"";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #E8008A 30%, #7B00E0 70%, transparent 100%);
}
.page-hero__inner{ text-align: center; }
.page-hero__crumb{
  display: flex;
  justify-content: center;
  align-items:center;
  gap: 8px;
  font-size: 12px; font-weight: 700;
  color: var(--text-3);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.page-hero__crumb a{
  color: var(--text-3);
  transition: color .2s;
}
.page-hero__crumb a:hover{
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-hero__crumb .sep{ opacity: 0.5; }
.page-hero__eyebrow{
  font-size: 12px;
  letter-spacing: 0.3em;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 14px;
  display: block;
}
.page-hero h1{
  font-size: clamp(28px, 6vw, 44px);
  font-weight: 900;
  margin: 0 0 12px;
  line-height: 1.3;
}
.page-hero__lede{
  color: var(--text-2);
  font-size: 14px;
  margin: 0 auto;
  max-width: 60ch;
  line-height: 1.9;
}

.page-body{
  padding: 70px 0 90px;
}
.page-body__wrap{
  max-width: 820px;
  margin: 0 auto;
}

/* Article / prose */
.prose{ color: var(--text-2); font-size: 14px; line-height: 1.95; }
.prose h2{
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  margin: 50px 0 14px;
  line-height: 1.4;
  display: flex; align-items: center; gap: 14px;
}
.prose h2 .num{
  font-family: "Inter", sans-serif;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.12em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-top: 6px;
  flex-shrink: 0;
}
.prose h2:first-of-type{ margin-top: 0; }
.prose h3{
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin: 30px 0 10px;
}
.prose p{ margin: 0 0 14px; }
.prose ul, .prose ol{
  margin: 0 0 18px;
  padding-left: 1.2em;
}
.prose li{ margin: 0 0 8px; }
.prose a{
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(232,0,138,0.6);
  transition: text-decoration-color .2s;
}
.prose a:hover{ text-decoration-color: #E8008A; }
.prose .updated{
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.05em;
  padding: 14px 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 36px;
  display: inline-block;
}
.prose hr{
  border: 0;
  border-top: 1px solid var(--line);
  margin: 40px 0;
}

/* Wip notice (legal placeholder) */
.wip{
  background:
    radial-gradient(80% 80% at 100% 0%, rgba(232,0,138,0.18), transparent 60%),
    radial-gradient(80% 80% at 0% 100%, rgba(123,0,224,0.18), transparent 60%),
    #0a0a0e;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  padding: 40px 32px;
  text-align: center;
  margin-bottom: 40px;
}
.wip__pill{
  display: inline-flex;
  align-items: center; gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-strong);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--text-2);
  margin-bottom: 16px;
}
.wip__pill .dot{
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 8px #E8008A;
}
.wip h2{
  font-size: 22px; font-weight: 900; color: #fff; margin: 0 0 10px;
}
.wip p{
  color: var(--text-2); font-size: 13px; margin: 0; line-height: 1.85;
}

/* Company info table */
.company-info{
  display: grid;
  grid-template-columns: 1fr;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 50px;
}
.company-info__row{
  display: grid;
  grid-template-columns: 1fr;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
.company-info__row:last-child{ border-bottom: 0; }
.company-info__label{
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 800;
  color: var(--text-3);
  margin-bottom: 6px;
  text-transform: uppercase;
}
.company-info__value{
  font-size: 14px;
  color: #fff;
  font-weight: 600;
  line-height: 1.7;
}
.company-info__value small{
  display: block;
  color: var(--text-3);
  font-size: 12px;
  font-weight: 500;
  margin-top: 3px;
}
@media (min-width: 720px){
  .company-info__row{
    grid-template-columns: 200px 1fr;
    gap: 24px;
    padding: 22px 28px;
    align-items: baseline;
  }
  .company-info__label{ margin-bottom: 0; padding-top: 2px; }
}

/* Mission cards */
.mission-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 50px;
}
.mission-card{
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.mission-card__no{
  font-family: "Inter", sans-serif;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.16em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
  display: block;
}
.mission-card h3{
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px;
}
.mission-card p{
  font-size: 13px;
  color: var(--text-2);
  margin: 0;
  line-height: 1.85;
}
@media (min-width: 720px){
  .mission-grid{ grid-template-columns: repeat(3, 1fr); }
}

/* History timeline */
.timeline{
  position: relative;
  padding-left: 28px;
  margin-bottom: 50px;
}
.timeline::before{
  content: "";
  position: absolute;
  left: 6px; top: 8px; bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, rgba(232,0,138,0.6), rgba(123,0,224,0.6));
}
.timeline__item{
  position: relative;
  padding-bottom: 22px;
}
.timeline__item:last-child{ padding-bottom: 0; }
.timeline__item::before{
  content: "";
  position: absolute;
  left: -28px; top: 6px;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 0 4px rgba(232,0,138,0.15);
}
.timeline__date{
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--text-3);
  margin-bottom: 4px;
}
.timeline__title{
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
}
.timeline__desc{
  font-size: 13px;
  color: var(--text-2);
  margin: 0;
  line-height: 1.8;
}

/* Back to home CTA */
.back-cta{
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  margin-top: 60px;
  padding: 40px 24px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.back-cta p{
  color: var(--text-2);
  font-size: 14px;
  margin: 0 0 18px;
}
