/* ===================================================================
   RelayMesh — pages.css
   Auxiliary Pages: About · Privacy · Terms · Cookie Policy
   =================================================================== */

/* === PAGE HEADER (top banner for aux pages) === */
.page-header {
  background: var(--cobalt);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(123,191,174,0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.page-header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}
.page-header-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}
.page-header-back:hover { color: rgba(255,255,255,0.9); }
.page-header-back svg { width: 14px; height: 14px; }
.page-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.page-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  max-width: 520px;
  line-height: 1.65;
}

/* === PAGE CONTENT WRAPPER === */
.page-content {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 32px;
}
.page-content-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 32px;
}

/* === CONTENT BLOCK === */
.content-block {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}
.content-empty {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.9rem;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-lg);
}

/* === POLICY CONTENT (Privacy, Terms, Cookies) === */
.policy-content {
  line-height: 1.75;
}
.policy-section {
  margin-bottom: 40px;
}
.policy-section h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--cobalt);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.policy-section p {
  font-size: 0.925rem;
  color: var(--text-mid);
  margin-bottom: 12px;
}
.policy-section ul {
  list-style: none;
  padding: 0;
  margin-bottom: 12px;
}
.policy-section li {
  font-size: 0.925rem;
  color: var(--text-mid);
  padding-left: 20px;
  margin-bottom: 8px;
  position: relative;
}
.policy-section li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--mint);
  font-weight: bold;
}
.contact-block {
  background: var(--cloud-off);
  border-left: 3px solid var(--mint);
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  font-size: 0.925rem;
  color: var(--text-mid);
  line-height: 1.75;
}
.contact-block a {
  color: var(--cobalt);
  text-decoration: none;
  font-weight: 500;
}
.contact-block a:hover {
  text-decoration: underline;
}

/* === ABOUT PAGE === */
.about-text-center {
  text-align: center;
}
.about-text-center h3 {
  color: var(--cobalt);
  font-size: 1.35rem;
  margin-bottom: 14px;
}
.about-text-center p {
  font-size: 0.925rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 12px;
}
.about-text-center p:last-of-type {
  margin-bottom: 24px;
}

.about-column-center {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}
.about-block {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.about-block-full {
  grid-column: 1 / -1;
}
.about-block h3 {
  color: var(--cobalt);
  font-size: 1.35rem;
  margin-bottom: 14px;
}
.about-block p {
  font-size: 0.925rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 12px;
}
.about-block p:last-child { margin-bottom: 0; }

/* Illustrations */
.story-illustration,
.values-illustration {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

/* Values list centered */
.values-list-center {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 20px;
}
.value-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
}
.value-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--mint);
  flex-shrink: 0;
  margin-top: 5px;
}
.value-item h5 {
  font-size: 0.9rem;
  color: var(--cobalt);
  margin-bottom: 3px;
  font-weight: 600;
}
.value-item p {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.55;
  margin: 0;
}

/* Legacy values list (side-by-side grid) */
.values-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

/* Photo placeholders */
.photo-placeholder {
  width: 100%;
  aspect-ratio: 16 / 7;
  background: var(--cloud-off);
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
}
.photo-placeholder span {
  font-size: 0.82rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 8px;
}
.photo-placeholder svg { width: 18px; height: 18px; opacity: 0.5; }
.photo-placeholder-large {
  aspect-ratio: 16 / 9;
}

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--graphite);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 32px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  z-index: 9999;
  animation: slideUp 0.3s ease-out;
}
@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.cookie-banner.hidden {
  display: none;
}
.cookie-banner-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cookie-banner-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  padding: 0;
}
.cookie-banner-text {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
  margin: 0;
  padding: 0;
}
.cookie-banner-text a {
  color: rgba(255,255,255,0.95);
  text-decoration: underline;
}
.cookie-banner-text a:hover {
  opacity: 0.85;
}
.cookie-banner-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}
.cookie-banner-btn {
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  display: inline-block;
}
.cookie-banner-btn-accept {
  background: var(--mint);
  color: var(--graphite);
  border-color: var(--mint);
}
.cookie-banner-btn-accept:hover {
  background: var(--mint-dark);
  border-color: var(--mint-dark);
}
.cookie-banner-btn-reject {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.cookie-banner-btn-reject:hover {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.08);
}
.cookie-banner-btn-settings {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.cookie-banner-btn-settings:hover {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.08);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .page-header    { padding: 48px 0; }
  .page-header-inner { padding: 0 20px; }
  .page-content   { padding: 48px 20px; }
  .page-content-narrow { padding: 48px 20px; }
  .content-block  { padding: 28px 24px; }
  .about-grid     { grid-template-columns: 1fr; }
  .about-block    { padding: 28px 24px; }
  .values-list    { grid-template-columns: 1fr; }
  .values-list-center { grid-template-columns: 1fr; }
  .policy-section { margin-bottom: 28px; }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px;
    gap: 16px;
  }
  .cookie-banner-actions {
    flex-direction: column;
    width: 100%;
  }
  .cookie-banner-btn {
    width: 100%;
    text-align: center;
  }
}

