/* =========================================================
   MP Tech Solutions — shared stylesheet
   Used by every page in the site. Keep selectors generic
   so header/nav/footer markup can be duplicated per page.
   ========================================================= */

/* ---- Design tokens ---- */
:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f6f7fb;
  --color-bg-dark: #12141f;
  --color-text: #1a1d29;
  --color-text-muted: #5b6472;
  --color-text-on-dark: #e7e9f3;
  --color-text-on-dark-muted: #9aa0b4;
  --color-border: #e2e5eb;
  --color-border-dark: #262a3a;

  --color-primary: #2952e3;
  --color-primary-dark: #1c3aa9;
  --color-primary-light: #eef1fd;

  --color-success: #178350;
  --color-success-bg: #e7f7ef;
  --color-error: #c0392b;
  --color-error-bg: #fdeceb;

  --color-live: #178350;
  --color-live-bg: #e7f7ef;
  --color-soon: #8a5a00;
  --color-soon-bg: #fdf1dc;

  /* Per-product accent hints (used only inside cards) */
  --accent-academyflow: #2952e3;
  --accent-clinicflow: #0d9488;
  --accent-gymflow: #ea580c;
  --accent-salonflow: #db2777;
  --accent-hrflow: #7c3aed;
  --accent-restroflow: #dc2626;
  --accent-retailflow: #16a34a;
  --accent-eventflow: #d97706;

  /* Generic accent set for icon-card rows (Why Choose Us / Why 8 Products) */
  --why-accent-1: #0d9488;
  --why-accent-2: #2952e3;
  --why-accent-3: #d97706;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(18, 20, 31, 0.06), 0 1px 1px rgba(18, 20, 31, 0.04);
  --shadow-md: 0 8px 24px rgba(18, 20, 31, 0.08);

  --container-w: 1200px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---- Reset ---- */
* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 0.5em; font-weight: 700; }
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover { background: var(--color-primary-dark); box-shadow: var(--shadow-sm); }
.btn-secondary {
  background: #fff;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-secondary:hover { background: var(--color-primary-light); }
.btn-disabled,
.btn[disabled] {
  background: var(--color-bg-alt);
  color: var(--color-text-muted);
  border-color: var(--color-border);
  cursor: not-allowed;
}
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ---- Header / Nav ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--container-w);
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--color-text);
}
.logo:hover { text-decoration: none; }
.logo-image {
  height: 50px;
  width: 100px;
  display: block;
}
/* Cropped MP mark with a transparent background (see logo-icon-96.png) —
   used next to plain "Tech Point" text in the footer, instead of the full
   log2.jpg lockup, since log2.jpg's baked-in light background doesn't sit
   well on the dark footer. */
.logo-icon {
  height: 34px;
  width: 34px;
  display: block;
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-links a[aria-current="page"] {
  color: var(--color-primary);
  font-weight: 700;
}
.nav-cta { margin-left: 8px; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
}
.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-text);
  margin: 4px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .bar-1 { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar-2 { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar-3 { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 780px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 16px;
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { display: block; padding: 12px 0; width: 100%; }
  .nav-cta { margin-left: 0; padding: 12px 0; }
}

/* ---- Hero ---- */
.hero {
  padding: 88px 0 64px;
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
  text-align: center;
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 900px;
  margin: 0 auto 20px;
}
.hero .subhead {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 680px;
  margin: 0 auto 32px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Section shell ---- */
.section {
  padding: 72px 0;
}
.section-alt { background: var(--color-bg-alt); }
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}
.section-header h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.section-header p { color: var(--color-text-muted); }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 10px;
}

/* ---- Product grid / cards ---- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1000px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .product-grid { grid-template-columns: 1fr; }
}
.product-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--accent, var(--color-primary));
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.product-card h3 { font-size: 1.15rem; margin-bottom: 0; }
.product-card .tagline { color: var(--color-text-muted); font-size: 0.92rem; flex-grow: 1; }
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.status-live { color: var(--color-live); background: var(--color-live-bg); }
.status-soon { color: var(--color-soon); background: var(--color-soon-bg); }
.status-badge::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* ---- Product detail sections (products.html) ---- */
.product-detail {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 32px;
  border-left: 6px solid var(--accent, var(--color-primary));
  background: #fff;
}
.product-detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: start;
}
.product-detail-grid > *:first-child { order: 1; }
.product-detail-grid > .img-placeholder { order: 2; }
@media (max-width: 860px) {
  .product-detail-grid { grid-template-columns: 1fr; }
}

/* Zigzag layout: every other product flips sides — image/text order
   alternates and the accent border switches from left to right. */
.product-detail:nth-of-type(even) {
  border-left: none;
  border-right: 6px solid var(--accent, var(--color-primary));
}
.product-detail:nth-of-type(even) .product-detail-grid {
  grid-template-columns: 0.9fr 1.1fr;
}
.product-detail:nth-of-type(even) .product-detail-grid > *:first-child { order: 2; }
.product-detail:nth-of-type(even) .product-detail-grid > .img-placeholder { order: 1; }
@media (max-width: 860px) {
  .product-detail:nth-of-type(even) .product-detail-grid { grid-template-columns: 1fr; }
  .product-detail:nth-of-type(even) .product-detail-grid > *:first-child,
  .product-detail:nth-of-type(even) .product-detail-grid > .img-placeholder {
    order: initial;
  }
}
.product-detail-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.feature-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--color-text);
}
.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent, var(--color-primary));
  font-weight: 700;
}
.feature-list li.is-placeholder {
  color: var(--color-text-muted);
  font-style: italic;
}
.feature-list li.is-placeholder::before { content: "…"; }

.img-placeholder {
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-alt);
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  padding: 12px;
}
.img-placeholder img {
  width: 100%;
  display: block;
  border-radius: calc(var(--radius-md) - 4px);
}
.img-placeholder-caption {
  color: var(--color-text-muted);
  font-size: 0.78rem;
}

/* ---- Stats bar ---- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
  text-align: center;
}
@media (max-width: 700px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
}
.stat-number {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--color-primary);
}
.stat-label {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* ---- Testimonials ---- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}
.testimonial-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.testimonial-quote {
  font-size: 0.98rem;
  color: var(--color-text);
  margin-bottom: 18px;
}
.testimonial-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}
.testimonial-avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary-light);
  border: 2px dashed var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--color-primary);
}
.testimonial-author { font-weight: 700; font-size: 0.9rem; }
.testimonial-role { color: var(--color-text-muted); font-size: 0.85rem; }

/* ---- About strip / placeholders ---- */
.placeholder-tag {
  display: inline-block;
  background: var(--color-soon-bg);
  color: var(--color-soon);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 8px;
  vertical-align: middle;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ---- Team cards ---- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .team-grid { grid-template-columns: 1fr; }
}
.team-card { text-align: center; }
.team-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--color-bg-alt);
  border: 2px dashed var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.75rem;
  margin-bottom: 14px;
  text-align: center;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.team-name { font-weight: 700; margin-bottom: 2px; }
.team-role { color: var(--color-text-muted); font-size: 0.9rem; }

/* ---- Icon-card rows (Why Choose Us / Why 8 Products) ---- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}
@media (max-width: 860px) {
  .why-grid { grid-template-columns: 1fr; }
}
.why-card {
  background: #fff;
  border: 2px solid var(--accent, var(--color-border));
  border-radius: var(--radius-md);
  padding: 36px 24px 28px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.why-card:hover { box-shadow: var(--shadow-md); }
.why-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 2px solid var(--accent, var(--color-primary));
  color: var(--accent, var(--color-primary));
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-icon svg { width: 28px; height: 28px; }
.why-card h3 { color: var(--accent, var(--color-primary)); font-size: 1.05rem; }
.why-card p { color: var(--color-text-muted); font-size: 0.92rem; margin-bottom: 0; }
/* Zigzag stagger on desktop — uses margin, not transform, so it doesn't
   fight the .reveal scroll-in animation's own transform. */
@media (min-width: 861px) {
  .why-grid > *:nth-child(even) { margin-top: 28px; }
}

/* ---- Mission / Vision labeled rows ---- */
.mv-list { margin-top: 8px; }
.mv-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 20px 0 20px 24px;
  border-left: 3px solid var(--color-primary);
  margin-bottom: 20px;
}
.mv-label {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-primary);
}
.mv-content { color: var(--color-text-muted); margin: 0; }
@media (max-width: 640px) {
  .mv-row { grid-template-columns: 1fr; gap: 8px; }
}

/* ---- Footer ---- */
.site-footer {
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark-muted);
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--color-border-dark);
}
@media (max-width: 780px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-col h4 {
  color: var(--color-text-on-dark);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: var(--color-text-on-dark-muted); }
.footer-col a:hover { color: var(--color-text-on-dark); }
.footer-col .footer-soon {
  color: var(--color-text-on-dark-muted);
  opacity: 0.6;
  font-size: 0.95em;
}
.footer-brand-desc { font-size: 0.9rem; margin: 10px 0 18px; max-width: 280px; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 34px; height: 34px;
  border: 1px solid var(--color-border-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  color: var(--color-text-on-dark-muted);
}
.footer-socials a:hover { border-color: var(--color-primary); color: #fff; }
.footer-bottom {
  padding: 20px 0 28px;
  text-align: center;
  font-size: 0.82rem;
}

/* ---- Forms ---- */
.form-grid {
  display: grid;
  gap: 20px;
}
.form-row { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-weight: 600; font-size: 0.9rem; }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--color-text);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
}
.form-field textarea { resize: vertical; min-height: 140px; }
.required-mark { color: var(--color-error); }

/* Custom up/down chevron on selects, so the dropdown always shows an
   indicator regardless of browser default styling. */
.form-field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6M2 11l6-6 6 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 12px;
}

/* ---- Bootstrap-style field validation ---- */
.needs-validation .invalid-feedback {
  display: none;
  color: var(--color-error);
  font-size: 0.85rem;
  margin-top: -2px;
}
.needs-validation.was-validated input:invalid,
.needs-validation.was-validated select:invalid,
.needs-validation.was-validated textarea:invalid {
  border-color: var(--color-error);
}
.needs-validation.was-validated input:invalid ~ .invalid-feedback,
.needs-validation.was-validated select:invalid ~ .invalid-feedback,
.needs-validation.was-validated textarea:invalid ~ .invalid-feedback {
  display: block;
}
.needs-validation.was-validated input:valid,
.needs-validation.was-validated select:valid,
.needs-validation.was-validated textarea:valid {
  border-color: var(--color-success);
}

/* Honeypot: hidden from real users, still in the DOM for bots to fill */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-message {
  display: none;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  margin-top: 16px;
}
.form-message.is-visible { display: block; }
.form-message.is-success { background: var(--color-success-bg); color: var(--color-success); }
.form-message.is-error { background: var(--color-error-bg); color: var(--color-error); }

/* ---- FAQ Accordion ---- */
.accordion { border-top: 1px solid var(--color-border); }
.accordion-item { border-bottom: 1px solid var(--color-border); }
.accordion-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
}
.accordion-icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}
.accordion-trigger[aria-expanded="true"] .accordion-icon { transform: rotate(45deg); }
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.accordion-panel-inner { padding: 0 4px 20px; color: var(--color-text-muted); }
.faq-cta {
  margin-top: 44px;
  text-align: center;
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  padding: 40px;
}

/* ---- Legal pages ---- */
.legal-banner {
  background: var(--color-soon-bg);
  color: var(--color-soon);
  border: 1px solid #f0ddb0;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 40px;
}
.legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 860px) {
  .legal-layout { grid-template-columns: 1fr; }
}
.legal-toc {
  position: sticky;
  top: 96px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  padding: 20px;
  font-size: 0.9rem;
}
@media (max-width: 860px) {
  /* Once the layout is a single column, "sticky" makes the TOC float over
     the content below it instead of just sitting above it — let it scroll
     away normally on mobile instead. */
  .legal-toc {
    position: static;
    margin-bottom: 32px;
  }
}
.legal-toc h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; }
.legal-toc li { margin-bottom: 8px; }
.legal-content h2 {
  font-size: 1.3rem;
  margin-top: 40px;
  padding-top: 8px;
  scroll-margin-top: 96px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--color-text-muted); }
.legal-content ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.legal-content .updated-date { color: var(--color-text-muted); font-size: 0.85rem; margin-bottom: 24px; }

/* ---- Scroll-in animation ---- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---- Contact page: direct contact info ---- */
.contact-direct {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--color-border);
  text-align: center;
}
.contact-direct h3 { font-size: 1rem; }
.contact-direct p { color: var(--color-text-muted); font-size: 0.92rem; margin-bottom: 6px; }

/* ---- Careers page ---- */
.jobs-status {
  text-align: center;
  color: var(--color-text-muted);
  padding: 32px 0;
}
.jobs-status h2 { color: var(--color-text); }
.jobs-grid {
  display: grid;
  gap: 24px;
}
.job-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.job-card h3 { margin-bottom: 4px; }
.job-card-meta {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  margin-bottom: 14px;
}
.job-card-desc { color: var(--color-text-muted); }
.job-card .feature-list { margin-bottom: 18px; }

/* ---- Apply modal ---- */
.apply-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.apply-modal[hidden] { display: none; }
.apply-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 20, 31, 0.55);
}
.apply-modal-panel {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 630px;
  width: 100%;
  max-height: 100vh;
  overflow-y: auto;
  box-shadow: var(--shadow-md);
}
.apply-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: #fff;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
}
.apply-modal-close:hover { 
  background: var(--color-bg-alt); 
}

