:root {
  --zen-green: #0f5f3d;
  --zen-green-dark: #083f2c;
  --zen-lime: #dff4d6;
  --zen-gold: #f1b83b;
  --zen-blue: #176c9f;
  --zen-ink: #18312a;
  --zen-muted: #5b6f69;
  --zen-line: #d9e5df;
  --zen-paper: #ffffff;
  --zen-bg: #f4f8f5;
}

.tm-color-primary {
  color: var(--zen-green);
}

.tm-section {
  align-items: flex-start;
}

.tm-main-nav {
  margin-bottom: 70px;
}

.tm-social-links {
  display: none;
}

.sidebar-proof {
  width: 100%;
  max-width: 230px;
  margin-bottom: 45px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.sidebar-proof p {
  line-height: 1.35;
  font-size: 0.95rem;
}

.site-legal-footer {
  width: calc(100% - 400px);
  margin-left: auto;
  padding: 28px 16px;
  background: var(--zen-green-dark);
  border-top: 4px solid rgba(241, 184, 59, 0.95);
  box-shadow: 0 -18px 32px rgba(0, 0, 0, 0.12);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.92rem;
}

.site-legal-footer .container {
  max-width: 1120px;
}

.site-legal-footer p {
  margin: 0 0 10px 0;
  line-height: 1.45;
}

.site-legal-footer .footer-title {
  margin-bottom: 12px;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
}

.site-legal-footer .footer-links {
  margin-bottom: 0;
}

.site-legal-footer .tm-footer-link {
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-legal-footer .footer-sep {
  display: inline-block;
  padding: 0 10px;
  opacity: 0.65;
}

@media (max-width: 767px) {
  .site-legal-footer .footer-sep {
    display: none;
  }

  .site-legal-footer .footer-links a {
    display: inline-block;
    margin-top: 6px;
  }
}

@media (max-width: 1600px) {
  .site-legal-footer {
    width: 70%;
  }
}

@media (max-width: 991px) {
  .site-legal-footer {
    width: 100%;
  }
}

.hero-section {
  min-height: 100vh;
  align-items: center;
}

.hero-card {
  max-width: 620px;
  background-color: rgba(255, 255, 255, 0.82);
}

.zen-wide {
  width: 100%;
  max-width: 1080px;
}

.zen-kicker {
  margin-bottom: 12px;
  color: var(--zen-gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-actions,
.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.zen-button,
.feature-tabs button,
.main-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--zen-green);
  border-radius: 4px;
  background: var(--zen-green);
  color: #fff;
  font-weight: 700;
  transition: all 0.2s ease;
}

.zen-button:hover,
.zen-button:focus,
.main-button:hover,
.main-button:focus {
  background: var(--zen-green-dark);
  color: #fff;
  text-decoration: none;
}

.zen-button-light {
  background: rgba(255, 255, 255, 0.82);
  color: var(--zen-green);
}

.problem-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.zen-card,
.service-card,
.feature-detail,
.sensor-panel,
.model-panel,
.team-card,
.evidence-box {
  border: 1px solid var(--zen-line);
  border-radius: 6px;
  background: var(--zen-paper);
  box-shadow: 0 16px 38px rgba(24, 49, 42, 0.08);
}

.zen-card,
.service-card {
  padding: 22px;
}

.zen-card i {
  margin-bottom: 20px;
  color: var(--zen-green);
  font-size: 2.2rem;
}

.zen-card h3,
.service-card h3,
.feature-detail h3,
.team-card h3,
.evidence-box h3,
.recommendation-box h3 {
  margin-bottom: 12px;
  color: var(--zen-ink);
  font-size: 1.12rem;
  font-weight: 700;
}

.zen-card p,
.service-card p,
.feature-detail p,
.team-card p,
.evidence-box li,
.recommendation-box p {
  color: var(--zen-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.demo-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
  gap: 24px;
  margin-bottom: 28px;
}

.sensor-panel {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.sensor-panel label {
  display: grid;
  gap: 8px;
  color: var(--zen-ink);
  font-weight: 700;
}

.sensor-panel select,
.sensor-panel input[type="range"] {
  width: 100%;
}

.sensor-panel select {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--zen-line);
  border-radius: 4px;
  background: #fff;
}

.model-panel {
  padding: 24px;
}

.model-score {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding: 18px;
  border-radius: 6px;
  background: var(--zen-bg);
  color: var(--zen-ink);
}

.model-score span {
  font-weight: 700;
}

.model-score strong {
  color: var(--zen-green);
  font-size: 2.6rem;
  line-height: 1;
}

.model-results {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.model-results article {
  display: grid;
  gap: 4px;
  padding: 14px;
  border-left: 4px solid var(--zen-green);
  background: #f8fbf9;
}

.model-results b {
  color: var(--zen-ink);
}

.model-results span {
  color: var(--zen-muted);
}

.recommendation-box {
  padding: 18px;
  border-radius: 6px;
  background: #fff7e6;
  border: 1px solid #f4ddaa;
}

.recommendation-box p {
  margin-bottom: 0;
}

.architecture-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.architecture-flow div {
  display: grid;
  gap: 10px;
  min-height: 120px;
  padding: 18px;
  border-radius: 6px;
  background: var(--zen-green-dark);
  color: #fff;
}

.architecture-flow strong {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--zen-gold);
  color: var(--zen-green-dark);
}

.architecture-flow span {
  font-weight: 700;
  line-height: 1.35;
}

.feature-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.feature-tabs button {
  background: #fff;
  color: var(--zen-green);
}

.feature-tabs button.active {
  background: var(--zen-green);
  color: #fff;
}

.feature-detail {
  margin-bottom: 24px;
  padding: 24px;
}

.feature-detail ul,
.team-card ul,
.evidence-box ul {
  margin: 0;
  padding-left: 18px;
}

.feature-detail li,
.team-card li {
  margin-bottom: 8px;
  color: var(--zen-muted);
  line-height: 1.6;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  margin-bottom: 24px;
}

.team-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  padding: 22px;
}

.team-card img,
.initials-photo {
  width: 150px;
  height: 150px;
  border-radius: 6px;
  object-fit: cover;
}

.initials-photo {
  display: grid;
  place-items: center;
  background: var(--zen-green-dark);
  color: #fff;
  font-size: 2.2rem;
  font-weight: 700;
}

.role-tag {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: 4px;
  background: var(--zen-lime);
  color: var(--zen-green-dark);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.evidence-box {
  padding: 24px;
  background: var(--zen-bg);
}

.source-links {
  margin-top: 18px;
}

.source-links a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--zen-line);
  border-radius: 4px;
  background: #fff;
  color: var(--zen-green);
  font-size: 0.92rem;
  font-weight: 700;
}

.source-links a:hover {
  background: var(--zen-green);
  color: #fff;
  text-decoration: none;
}

@media (max-width: 1200px) {
  .problem-grid,
  .architecture-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid,
  .team-grid,
  .demo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .tm-w-80 {
    max-width: 100%;
  }

  .problem-grid,
  .service-grid,
  .architecture-flow,
  .team-card {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .tm-intro {
    padding: 30px;
  }
}
