/* Shared chrome for the public static pages (about/privacy/terms/security).
   Loaded alongside styles.css — reuses the same CSS custom properties
   (colors, radii) so these pages match the app's look without duplicating
   the whole design system. No Alpine, no auth, no app shell. */

body { margin: 0; background: var(--bg); font-family: var(--font); }

.static-page { min-height: 100vh; display: flex; flex-direction: column; }

.static-nav {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 720px; margin: 0 auto; width: 100%;
  padding: 1.75rem 1.5rem 0;
  box-sizing: border-box;
}
.static-nav-brand {
  font-size: 15px; font-weight: 600; color: var(--ink);
  text-decoration: none; letter-spacing: -0.01em;
}
.static-nav-cta { padding: 8px 16px; font-size: 13px; text-decoration: none; }
.static-nav-actions { display: flex; align-items: center; gap: 10px; }

.static-content {
  flex: 1; max-width: 720px; margin: 0 auto; width: 100%;
  padding: 2.5rem 1.5rem 3rem;
  box-sizing: border-box;
  color: var(--ink2); font-size: 14px; line-height: 1.7;
}

.static-content h1 {
  font-size: 26px; font-weight: 500; color: var(--ink);
  letter-spacing: -0.02em; margin: 0 0 6px;
}
.static-content h2 {
  font-size: 16px; font-weight: 600; color: var(--ink);
  margin: 2rem 0 8px;
}
.static-content p { margin: 0 0 14px; }
.static-content ul { margin: 0 0 14px; padding-left: 20px; }
.static-content li { margin-bottom: 6px; }
.static-content a { color: var(--accink); }

.static-meta {
  font-size: 12.5px; color: var(--muted);
  margin-bottom: 1.75rem;
}

.static-draft-banner {
  background: var(--accbg); color: var(--accink);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  font-size: 12.5px; line-height: 1.5;
  margin-bottom: 1.75rem;
  display: flex; align-items: flex-start; gap: 8px;
}
.static-draft-banner .ti { flex-shrink: 0; margin-top: 1px; }

.public-footer,
.static-footer {
  border-top: 0.5px solid var(--bd);
  padding: 1.5rem 1.5rem 2rem;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.public-footer-links,
.static-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.public-footer-links a,
.static-footer-links a { font-size: 12.5px; color: var(--ink2); text-decoration: none; }
.public-footer-links a:hover,
.static-footer-links a:hover { color: var(--accink); }
.public-footer-copy,
.static-footer-copy { font-size: 11.5px; color: var(--muted); }

.static-content-wide { max-width: 880px; }

.public-section-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 500; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 14px; text-align: left;
}
.public-section-title::before {
  content: "";
  width: 14px; height: 14px; flex: 0 0 14px;
  background: var(--acc);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 96'%3E%3Ccircle cx='48' cy='48' r='30' fill='none' stroke='black' stroke-width='16' stroke-linecap='round' stroke-dasharray='151 189' transform='rotate(-90 48 48)'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 96'%3E%3Ccircle cx='48' cy='48' r='30' fill='none' stroke='black' stroke-width='16' stroke-linecap='round' stroke-dasharray='151 189' transform='rotate(-90 48 48)'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ─── About page V4.2 homepage-twin layout ──────────────── */
.about-page-main {
  flex: 1;
}
.about-fold,
.about-below {
  max-width: 940px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.about-fold {
  min-height: calc((100dvh - 80px) / var(--uz));
  display: flex;
}
.about-fold-grid {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px 340px;
  column-gap: 26px;
  align-items: stretch;
  padding: 2.5rem 0 3rem;
}
.about-fold-left {
  min-width: 0;
  display: flex; flex-direction: column; justify-content: center;
  gap: 2.5rem;
}
.about-fold-divider {
  width: 1px; background: var(--bd); align-self: stretch;
}
.about-fold-right {
  min-width: 0;
  display: flex; flex-direction: column; justify-content: center;
}
.about-below {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem; align-items: start;
  padding-top: 3rem; padding-bottom: 3rem;
}

.about-section { margin: 0; }
.about-intro { font-size: 15px; color: var(--ink2); line-height: 1.7; margin-bottom: 0; }
.about-struggles-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
  margin-top: 18px;
}
.about-struggle-card {
  background: var(--card); border: 0.5px solid var(--bd);
  border-radius: var(--r-sm); padding: 16px;
}
.about-struggle-card .ti { color: var(--accink); font-size: 18px; margin-bottom: 10px; }
.about-struggle-card h2 {
  font-size: 14px; font-weight: 600; color: var(--accink);
  margin: 0 0 5px;
}
.about-struggle-card p {
  font-size: 13px; line-height: 1.55; color: var(--ink2); margin: 0;
}
.about-builder-copy {
  font-size: 15px; color: var(--ink2); line-height: 1.7; margin: 0;
}
.about-signin-card,
.about-welcome-card,
.founder-card {
  background: var(--card); border: 0.5px solid var(--bd);
  border-radius: var(--r); padding: 1.5rem;
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
  box-sizing: border-box;
}
.about-welcome-title {
  font-size: 15px; font-weight: 500; color: var(--ink);
  margin-bottom: 14px;
}
.founder-card-head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 12px;
}
.founder-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
}
.founder-name { font-size: 17px; font-weight: 500; color: var(--ink); margin: 0 0 2px; }
.founder-role { font-size: 12.5px; color: var(--muted); margin: 0; }
.founder-story { font-size: 13px; color: var(--ink2); line-height: 1.6; margin: 0 0 14px; }
.founder-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.founder-links a { text-decoration: none; }
.founder-links .btn { justify-content: center; }
.about-title-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  margin-bottom: 14px;
}
.about-section-note {
  font-size: 12.5px; color: var(--muted); line-height: 1.6;
  white-space: nowrap; text-align: right;
}
.about-trust-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
  margin-bottom: 16px;
}
.about-trust-chip {
  display: flex; align-items: center; gap: 8px;
  background: var(--inner); border-radius: var(--r-sm);
  padding: 10px 12px; font-size: 13px; color: var(--ink2);
}
.about-trust-chip .ti { color: var(--accink); font-size: 15px; }
.about-trust-copy { font-size: 13.5px; color: var(--ink2); line-height: 1.65; margin: 0; }

/* ─── Contact page ───────────────────────────────────────── */
.contact-page-copy { font-size: 15px; color: var(--ink2); line-height: 1.7; margin-bottom: 18px; }
.contact-form {
  background: var(--card); border: 0.5px solid var(--bd);
  border-radius: var(--r); padding: 1.5rem;
  display: grid; gap: 12px; margin-bottom: 16px;
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form .form-input:disabled,
.contact-form .btn:disabled {
  opacity: 0.55; cursor: not-allowed;
}
.contact-note {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 13px; color: var(--ink2); line-height: 1.6;
}
.contact-email {
  color: var(--ink); font-weight: 500; user-select: all;
}
.contact-copy-button { padding: 6px 10px; font-size: 12px; }

@media (max-width: 900px) {
  .about-fold { min-height: 0; display: block; }
  .about-fold-grid {
    display: flex; flex-direction: column;
    gap: 2.5rem; padding: 2.5rem 0;
  }
  .about-fold-left { gap: 2.5rem; }
  .about-fold-divider { display: none; }
  .about-below {
    display: flex; flex-direction: column;
    gap: 2.5rem; padding-top: 0;
  }
  .about-struggles-grid,
  .about-trust-grid {
    grid-template-columns: 1fr;
  }
  .about-title-row { display: block; }
  .about-section-note { text-align: left; margin: -6px 0 14px; }
}
