/* ==========================================================================
   About and Contact pages
   ========================================================================== */
.up-pg-hero {
  background: linear-gradient(135deg, #052e20 0%, #064e3b 55%, #0f766e 100%);
  color: #ffffff;
  text-align: center;
  padding: 3rem 0 2.75rem;
}
.up-pg-kicker { display: inline-block; margin-bottom: 0.75rem; padding: 0.25rem 0.75rem; border-radius: 9999px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #6ee7b7; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); }
.up-pg-title { margin: 0 0 0.75rem; font-size: clamp(1.9rem, 5vw, 3rem); font-weight: 800; line-height: 1.15; color: #ffffff; }
.up-pg-title span { color: #34d399; }
.up-pg-lead { max-width: 660px; margin: 0 auto; font-size: 1rem; line-height: 1.65; color: #d1fae5; }

.up-pg-body { padding-top: 2rem; padding-bottom: 3.5rem; display: flex; flex-direction: column; gap: 1.75rem; }

.up-pg-stats { list-style: none; margin: -2.75rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 0.75rem; position: relative; }
.up-pg-stats li { display: flex; flex-direction: column; align-items: center; padding: 1rem 0.5rem; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 1rem; box-shadow: 0 10px 25px -10px rgba(15, 23, 42, 0.25); }
.up-pg-stats strong { font-size: 1.75rem; font-weight: 800; color: #047857; line-height: 1.1; }
.up-pg-stats span { font-size: 0.75rem; font-weight: 600; color: #64748b; }

.up-pg-card { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 1.25rem; padding: 1.5rem; }
.up-pg-card h2 { margin: 0 0 0.875rem; font-size: 1.125rem; font-weight: 800; color: #0f172a; }
.up-pg-prose p { margin: 0 0 0.875rem; font-size: 0.9375rem; line-height: 1.75; color: #334155; }
.up-pg-prose > :last-child { margin-bottom: 0; }

.up-pg-h2 { margin: 0 0 1rem; font-size: 1.25rem; font-weight: 800; color: #0f172a; }
.up-pg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.up-pg-grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.up-pg-feature { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.25rem; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 1.125rem; text-decoration: none; color: #0f172a; transition: border-color 0.15s, box-shadow 0.15s; }
.up-pg-feature:hover, .up-pg-feature:focus-visible { border-color: #34d399; box-shadow: 0 8px 20px -10px rgba(5, 150, 105, 0.4); }
.up-pg-feature strong { font-size: 1rem; }
.up-pg-feature p { margin: 0; font-size: 0.8125rem; line-height: 1.6; color: #64748b; flex: 1; }
.up-pg-feature-cta { font-size: 0.8125rem; font-weight: 700; color: #047857; }

.up-pg-principle { padding: 1.25rem; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 1.125rem; }
.up-pg-principle strong { display: block; margin-bottom: 0.4rem; font-size: 0.9375rem; color: #065f46; }
.up-pg-principle p { margin: 0; font-size: 0.8125rem; line-height: 1.6; color: #166534; }

.up-pg-callout { background: #fffbeb; border-color: #fde68a; }
.up-pg-list { margin: 0; padding-left: 1.2rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; line-height: 1.6; color: #334155; }
.up-pg-list a { color: #047857; font-weight: 600; }

.up-pg-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.5rem; border-radius: 1.25rem; background: linear-gradient(135deg, #0f766e, #064e3b); color: #ffffff; }
.up-pg-cta h2 { margin: 0 0 0.25rem; font-size: 1.125rem; font-weight: 800; color: #ffffff; }
.up-pg-cta p { margin: 0; font-size: 0.875rem; color: #ccfbf1; }

/* Contact */
.up-contact-layout { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: start; }
@media (min-width: 900px) { .up-contact-layout { grid-template-columns: 3fr 2fr; } }
.up-contact-side { display: flex; flex-direction: column; gap: 1.25rem; }
.up-contact-form { display: flex; flex-direction: column; gap: 0.25rem; position: relative; }
.up-contact-form p { margin: 0 0 0.75rem; }
.up-cf-row { display: grid; grid-template-columns: 1fr; gap: 0 1rem; }
@media (min-width: 600px) { .up-cf-row { grid-template-columns: 1fr 1fr; } }
.up-contact-form label { display: block; margin-bottom: 0.3rem; font-size: 0.75rem; font-weight: 700; color: #334155; }
.up-contact-form input[type="text"], .up-contact-form input[type="email"], .up-contact-form select, .up-contact-form textarea {
  width: 100%; padding: 0.65rem 0.875rem; border: 1px solid #cbd5e1; border-radius: 0.625rem; font: inherit; font-size: 0.875rem; background: #f8fafc;
}
.up-contact-form button[type="submit"] { align-self: flex-start; }
.up-contact-status { min-height: 1.25rem; margin: 0.5rem 0 0; font-size: 0.875rem; font-weight: 600; }
.up-contact-status.is-ok { color: #047857; }
.up-contact-status.is-err { color: #b91c1c; }
.up-contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.875rem; }
.up-contact-list li { display: flex; flex-direction: column; gap: 0.1rem; color: #0f172a; }
.up-contact-list li span { font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: #64748b; }
.up-contact-list a { color: #047857; font-weight: 600; word-break: break-word; }

/* ==========================================================================
   Legal pages (Privacy Policy, Terms & Conditions)
   ========================================================================== */
.up-legal-body { max-width: 860px; }
.up-legal-updated { margin: 0; font-size: 0.8125rem; font-weight: 600; color: #64748b; }
.up-legal-toc strong { display: block; margin-bottom: 0.5rem; font-size: 0.9375rem; color: #0f172a; }
.up-legal-toc ol { margin: 0; padding-left: 1.25rem; columns: 2; column-gap: 2rem; font-size: 0.875rem; line-height: 1.9; }
.up-legal-toc a { color: #047857; font-weight: 600; text-decoration: none; }
.up-legal-toc a:hover { text-decoration: underline; }
.up-legal-sec { scroll-margin-top: 90px; }
.up-legal-sec .up-pg-list { margin-top: 0.25rem; }
.up-legal-cta-links { display: flex; flex-wrap: wrap; gap: 0.5rem; }
@media (max-width: 600px) { .up-legal-toc ol { columns: 1; } }
