.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Hero -------------------------------------------------------------------- */
.hero {
  padding: 72px 0 48px;
  text-align: center;
}
.hero h1 {
  margin: 0 auto 18px;
}

.hero-equation {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 22px;
}
.eq-box {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 10px 22px;
}
.eq-box--accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.eq-sign {
  color: var(--text-muted);
  font-size: 1.2em;
}
.hero .subtitle {
  margin: 0 auto 28px;
  font-size: 16px;
}
.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-offer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  padding: 14px 56px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-size: 20px;
}

/* Trust bar ----------------------------------------------------------------- */
.trust-bar {
  padding: 8px 0 56px;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.trust-item {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 24px;
}
.trust-item::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--accent);
}
.trust-item h3 {
  font-size: 15px;
  margin-bottom: 8px;
}
.trust-item p {
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.6;
}

/* Sections ------------------------------------------------------------------ */
section {
  padding: 56px 0;
  border-top: 1px solid var(--line);
}
.section-head {
  text-align: center;
  margin-bottom: 32px;
}
.section-head .subtitle {
  margin: 10px auto 0;
}
.head-box {
  display: inline-block;
  max-width: 62ch;
  padding: 14px 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  line-height: 1.4;
}

/* Product grid ---------------------------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.product-grid .card {
  padding-top: 26px;
}

/* Why-Solvarix contrast section ------------------------------------------------ */
.contrast-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.contrast-grid .card h3 {
  font-family: var(--font-mono);
}
.contrast-grid ul li {
  position: relative;
  padding-left: 20px;
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 13.5px;
}
.contrast-grid .no ul li::before {
  content: "\2013";
  position: absolute;
  left: 0;
  color: var(--err);
}
.contrast-grid .yes ul li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--ok);
}

/* Tool-chain section ------------------------------------------------------------ */
.chain {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 40px 0 32px;
}
.chain-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 10px 15px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.chain-step .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gcolor, var(--accent));
  flex-shrink: 0;
}
.chain-step--image { --gcolor: var(--cat-image); }
.chain-step--audio { --gcolor: var(--cat-audio); }
.chain-step--video { --gcolor: var(--cat-video); }
.chain-arrow {
  color: var(--text-muted);
  font-size: 15px;
}
.chain-diff {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.chain-diff .card h3 {
  font-size: 14px;
  margin-bottom: 8px;
}
.chain-diff .card p {
  font-size: 13.5px;
}
.chain-note {
  max-width: 72ch;
  margin: 0 auto 32px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Examples section --------------------------------------------------------------- */
.examples-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.example {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.example img {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--line);
}
.example-cap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
}
.example-cap .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gcolor, var(--accent));
  flex-shrink: 0;
}
.example-cap b {
  font-weight: 600;
  font-size: 13.5px;
  color: var(--text);
}
.example-cap span {
  font-size: 13px;
  color: var(--text-muted);
}
.example--image { --gcolor: var(--cat-image); }

/* Developers section ------------------------------------------------------------ */
.dev-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.dev-section .copy { max-width: 56ch; }

/* Footer --------------------------------------------------------------------- */
footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--text-muted);
  font-size: 13px;
}
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  color: var(--text-muted);
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* About page ------------------------------------------------------------------ */
.about-content {
  max-width: 66ch;
  margin: 0 auto;
  padding: 56px 0 80px;
}
.about-content h1 { margin-bottom: 24px; }
.about-content p { margin-top: 16px; color: var(--text); font-size: 15px; line-height: 1.7; }

/* 404 --------------------------------------------------------------------------- */
.notfound {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: 40px 24px;
}

/* Responsive --------------------------------------------------------------------- */
@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .chain-diff { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .product-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .contrast-grid { grid-template-columns: 1fr; }
  .examples-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 36px; }
  .hero-equation { font-size: 18px; gap: 10px; flex-direction: column; }
  .eq-box { padding: 8px 14px; }
  .hero-offer { padding: 12px 30px; font-size: 18px; }
  .head-box { padding: 12px 22px; }
  .dev-section { flex-direction: column; align-items: flex-start; }
  .chain { flex-direction: column; }
  .chain-arrow { transform: rotate(90deg); }
}
