/* saas-logic.com additions on top of the product-family shared.css (FacilityView360 / AssetView3D). */

.logo-mark { font-weight: 800; }
nav .links a:hover, footer a:hover { color: var(--teal); }
nav .links a[aria-current="page"] { color: var(--ink); }
.lead a, .legal a, .contact-grid a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
.text-link { font-size: 15px; }
.hero h1 { font-size: clamp(50px, 6.2vw, 84px); }
.banner .kicker { color: rgba(255,255,255,.78); }

/* hero visual: the product family as labelled tiles on the shared grid */
.family-tiles {
  position: absolute; inset: 22% 8% 22% 8%;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  transform: skewY(-7deg);
}
.family-tiles span {
  display: grid; place-items: center; padding: 8px; text-align: center;
  border: 1px solid rgba(54,238,227,.6); background: rgba(15,67,78,.55);
  box-shadow: 0 0 26px rgba(24,216,208,.12);
  color: #c9f6f3; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.family-tiles span.core { grid-column: span 3; background: rgba(10,145,153,.45); color: #fff; font-size: 13px; }

/* product grid (dark section) */
.products {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 65px; border-top: 1px solid var(--line);
}
.product {
  display: flex; flex-direction: column; min-height: 270px; padding: 30px 30px 34px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.product:nth-child(4n) { border-right: 0; }
.product b { color: var(--cyan); font: 700 10px monospace; letter-spacing: .06em; }
.product h3 { margin: 20px 0 12px; font-size: 21px; }
.product p { flex: 1; margin: 0 0 22px; color: #9aadb4; font-size: 14px; line-height: 1.7; }
.product a.go { color: #fff; font-size: 13px; font-weight: 700; }
.product a.go:hover { color: var(--cyan); }
.product.core { background: rgba(24,216,208,.06); }

/* enterprise + contact */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; margin-top: 55px; }
.checklist { list-style: none; margin: 0; padding: 0; border-top: 1px solid #bec9c8; }
.checklist li { padding: 18px 0 18px 34px; border-bottom: 1px solid #bec9c8; position: relative; font-weight: 700; }
.checklist li::before { content: "\2192"; position: absolute; left: 0; color: var(--teal); }
.contact-card { background: #fff; border: 1px solid #cad2d1; padding: 34px; box-shadow: 0 18px 40px rgba(8,23,31,.06); }
.contact-card h3 { margin: 0 0 18px; font-size: 21px; }
.contact-grid { display: grid; grid-template-columns: 130px 1fr; gap: 12px 18px; margin: 0; font-size: 15px; line-height: 1.5; }
.contact-grid dt { color: #849196; font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; padding-top: 4px; }
.contact-grid dd { margin: 0; }

/* footer */
footer .foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 700; }
footer .foot-links a { color: #3d4f56; }
footer .foot-meta { line-height: 1.6; }

/* legal pages */
.legal-head { padding: 70px 0 44px; border-bottom: 1px solid #cad2d1; }
.legal-head h1 { margin: 20px 0 22px; font-size: clamp(44px, 6vw, 76px); }
.legal-head .lead { margin: 0; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 8px 30px; margin-top: 26px; color: #64747a; font-size: 13px; }
.legal-meta strong { color: var(--ink); }
.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 64px; padding: 54px 0 100px; }
.toc { position: sticky; top: 22px; align-self: start; padding: 22px 0; border-top: 2px solid var(--ink); }
.toc .kicker { display: block; margin-bottom: 12px; }
.toc nav { display: block; min-height: 0; border: 0; } /* shared.css styles every <nav> as the top bar */
.toc a { display: block; padding: 6px 0; color: #53646b; font-size: 13px; line-height: 1.4; }
.toc a:hover { color: var(--teal); }
.legal { max-width: 780px; min-width: 0; color: #2b3b42; font-size: 16px; line-height: 1.75; }
.legal section { padding: 0 0 34px; margin: 0 0 34px; border-bottom: 1px solid #cad2d1; scroll-margin-top: 20px; }
.legal section:last-child { border-bottom: 0; }
.legal h2 { margin: 0 0 14px; color: var(--ink); font-size: 26px; line-height: 1.2; letter-spacing: -.03em; }
.legal h3 { margin: 24px 0 8px; color: var(--ink); font-size: 17px; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 8px 0 16px; padding-left: 22px; }
.legal li { margin: 6px 0; }
.callout { margin: 0 0 36px; padding: 22px 24px; background: #fff; border: 1px solid #cad2d1; border-left: 4px solid var(--teal); }
.callout p:last-child { margin-bottom: 0; }
.callout.dark { background: var(--bg); color: #d6e1e4; border-color: var(--bg); border-left-color: var(--cyan); }
.callout.dark strong { color: #fff; }
.callout.dark a { color: var(--cyan); }
.keyword { display: grid; grid-template-columns: 110px 1fr; gap: 0; margin: 14px 0 18px; border-top: 1px solid #cad2d1; }
.keyword > div { padding: 12px 0; border-bottom: 1px solid #cad2d1; }
.keyword > div:nth-child(odd) { font: 800 13px monospace; letter-spacing: .06em; color: var(--teal); padding-top: 14px; }
.reply { display: block; margin-top: 6px; padding: 10px 12px; background: #fff; border: 1px solid #dbe1df; font-size: 14px; color: #3c4c52; }
.summary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: 0 0 38px; border-top: 1px solid #bec9c8; }
.summary div { padding: 18px 20px 18px 0; border-bottom: 1px solid #bec9c8; }
.summary div:nth-child(odd) { border-right: 1px solid #bec9c8; }
.summary div:nth-child(even) { padding-left: 20px; }
.summary b { display: block; margin-bottom: 4px; color: var(--teal); font: 700 10px monospace; letter-spacing: .08em; text-transform: uppercase; }
.summary span { font-size: 15px; line-height: 1.55; }
.caps { text-transform: uppercase; font-size: 14px; letter-spacing: .01em; }

@media (max-width: 1000px) {
  .products { grid-template-columns: repeat(2, 1fr); }
  .product:nth-child(4n) { border-right: 1px solid var(--line); }
  .product:nth-child(2n) { border-right: 0; }
}
@media (max-width: 850px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .legal-layout { grid-template-columns: 1fr; gap: 26px; padding-top: 34px; }
  .toc { position: static; }
  .hero .audiences { margin-top: 44px; }
  .family-tiles { inset: 25% 6% 31% 6%; }
  .toc nav { columns: 2; column-gap: 24px; }
}
@media (max-width: 620px) {
  .products { grid-template-columns: 1fr; }
  .product { border-right: 0 !important; min-height: 0; }
  .summary { grid-template-columns: 1fr; }
  .summary div:nth-child(odd) { border-right: 0; }
  .summary div:nth-child(even) { padding-left: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 2px; }
  .contact-grid dd { margin-bottom: 12px; }
  .contact-card { padding: 24px 20px; }
  .toc nav { columns: 1; }
  .keyword { grid-template-columns: 1fr; }
  .keyword > div:nth-child(odd) { border-bottom: 0; padding-bottom: 0; }
  .legal-head { padding-top: 44px; }
  .legal-head h1 { font-size: 46px; }
  .family-tiles span { font-size: 9px; padding: 4px; }
  .metric { min-width: 0; padding: 9px 12px; }
  .metric strong { font-size: 18px; }
  .family-tiles span.core { font-size: 11px; }
}
@media (max-width: 560px) {
  nav .button { display: inline-flex; min-height: 40px; padding: 0 14px; }
  nav .button .wide { display: none; }
}
@media print {
  nav .links, nav .button, .toc, footer .foot-links { display: none; }
  .legal-layout { display: block; padding: 20px 0; }
  body { background: #fff; }
}
