/* Annotated layout refinements — 2026-07-11 */
img {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.brand-tagline {
  margin-left: 7px;
  padding-left: 16px;
  border-left: 1px solid #cbd7e1;
  color: #5d7184;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.hero h1 span,
.lead span,
.section-heading > p span,
.solution h2 span,
.solution-copy > p span,
.contact-copy h2 span,
.contact-copy > p span {
  display: block;
}

.hero {
  grid-template-columns: minmax(600px, 1.15fr) minmax(400px, .85fr);
}

.hero h1 {
  font-size: clamp(34px, 3.2vw, 44px);
}

.hero h1 span,
.solution h2 span {
  white-space: nowrap;
}

.model-title {
  white-space: nowrap;
  font-size: clamp(30px, 3.35vw, 45px) !important;
}

.system-architecture {
  margin-top: 30px;
}

.solution {
  grid-template-columns: minmax(580px, 1.12fr) minmax(420px, .88fr);
  gap: 48px;
}

.solution h2 {
  font-size: clamp(30px, 2.8vw, 38px);
}

.architecture-main {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 8px;
  align-items: center;
}

.flow-node {
  min-height: 82px;
  padding: 15px 12px;
  border: 1px solid #dcecf4;
  border-radius: 10px;
  background: #eef8fc;
  text-align: center;
}

.flow-node.core {
  color: #fff;
  border-color: #168dcc;
  background: #168dcc;
}

.flow-node strong,
.flow-node span {
  display: block;
  white-space: nowrap;
}

.flow-node span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.flow-node.core span {
  color: #eaf7fd;
}

.flow-arrow {
  color: var(--blue);
  font-size: 20px;
  text-align: center;
}

.optional-pc {
  position: relative;
  width: 38%;
  margin: 14px 0 0 21%;
  padding: 13px;
  border: 1px dashed #7fbdda;
  border-radius: 10px;
  background: #fff;
  text-align: center;
}

.optional-pc::before {
  position: absolute;
  bottom: 100%;
  left: 50%;
  height: 15px;
  border-left: 1px dashed #7fbdda;
  content: "";
}

.optional-pc small,
.optional-pc strong,
.optional-pc span {
  display: block;
}

.optional-pc small {
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
}

.optional-pc strong {
  margin: 3px 0;
  font-size: 13px;
  white-space: nowrap;
}

.optional-pc em {
  padding: 2px 5px;
  border-radius: 10px;
  color: #fff;
  background: var(--blue);
  font-size: 9px;
  font-style: normal;
}

.optional-pc span {
  color: var(--muted);
  font-size: 10px;
}

.catalog-figure {
  overflow: hidden;
  border-radius: 14px;
}

.search-topics {
  padding-top: 78px;
  padding-bottom: 78px;
  background: linear-gradient(135deg, #eef8fc, #f8fbfd);
}

.search-topics .section-heading {
  max-width: 900px;
  margin-bottom: 28px;
}

.topic-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.topic-list li {
  padding: 9px 15px;
  border: 1px solid #cce5f1;
  border-radius: 999px;
  color: #0b4d78;
  background: #fff;
  font-size: 13px;
  font-weight: 800;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 32px;
}

.resource-card {
  padding: 24px;
  border: 1px solid #d7e8f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(7, 27, 59, .05);
  transition: transform .2s ease, box-shadow .2s ease;
}

.resource-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 35px rgba(7, 27, 59, .1);
}

.resource-card > span { color: var(--blue); font-size: 12px; font-weight: 900; }
.resource-card strong { display: block; margin-top: 10px; font-size: 19px; }
.resource-card p { min-height: 48px; margin: 8px 0 15px; color: var(--muted); font-size: 13px; }
.resource-card em { color: var(--blue); font-size: 12px; font-style: normal; font-weight: 900; }

@media (max-width: 1120px) {
  .hero,
  .solution {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .solution-image {
    max-width: 760px;
  }
}

@media (max-width: 980px) {
  .model-title {
    white-space: normal;
  }

  .architecture-main {
    grid-template-columns: 1fr auto 1fr;
  }

  .architecture-main .flow-node:nth-of-type(3) {
    grid-column: 1;
  }

  .architecture-main .flow-arrow:nth-of-type(3) {
    grid-column: 2;
  }

  .architecture-main .flow-node:nth-of-type(4) {
    grid-column: 3;
  }

  .optional-pc {
    width: 42%;
    margin-left: 29%;
  }

  .resource-grid { grid-template-columns: 1fr; }
  .resource-card p { min-height: 0; }
}

@media (max-width: 640px) {
  .brand-tagline {
    display: none;
  }

  .hero h1 span,
  .lead span,
  .section-heading > p span,
  .solution h2 span,
  .solution-copy > p span,
  .contact-copy > p span {
    display: inline;
  }

  .hero h1 span,
  .solution h2 span {
    white-space: normal;
  }

  .contact-copy h2 span {
    display: block;
  }

  .architecture-main {
    grid-template-columns: 1fr;
  }

  .architecture-main .flow-node:nth-of-type(3),
  .architecture-main .flow-arrow:nth-of-type(3),
  .architecture-main .flow-node:nth-of-type(4) {
    grid-column: auto;
  }

  .flow-arrow {
    transform: rotate(90deg);
  }

  .optional-pc {
    width: 100%;
    margin: 14px 0 0;
  }

  .optional-pc::before {
    display: none;
  }
}
