.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
  align-items: stretch;
}

.principle {
  display: grid;
  align-content: start;
  gap: 0.45rem;
  min-height: 100%;
  border: 1px solid rgba(18, 32, 51, 0.1);
  border-radius: 22px;
  padding: 1.22rem 1.18rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 34px rgba(42, 73, 104, 0.08);
}

.principle h2 {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  margin-bottom: 0.5rem;
}

.principle h3 {
  margin-bottom: 0.58rem;
  color: #102235;
  font-size: clamp(1.02rem, 1.45vw, 1.18rem);
  line-height: 1.3;
}

.principle p {
  color: #607486;
  font-size: 0.98rem;
  line-height: 1.68;
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.95rem;
  align-items: stretch;
}

.tile {
  display: grid;
  align-content: start;
  gap: 0.45rem;
  min-height: 100%;
  border: 1px solid rgba(18, 32, 51, 0.1);
  border-radius: 22px;
  padding: 1.22rem 1.18rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 34px rgba(42, 73, 104, 0.08);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.tile:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 38px rgba(0, 0, 0, 0.24);
}

.tile h3 {
  margin-bottom: 0.6rem;
  color: #102235;
  line-height: 1.24;
}

.tile img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tile p {
  color: #607486;
  font-size: 0.98rem;
  line-height: 1.68;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
  align-items: stretch;
}

.benefit-card {
  display: grid;
  align-content: start;
  gap: 0.45rem;
  min-height: 100%;
  border: 1px solid rgba(18, 32, 51, 0.08);
  border-radius: 22px;
  padding: 1.22rem 1.18rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 34px rgba(35, 63, 92, 0.08);
}

.benefit-card h3 {
  margin-bottom: 0.42rem;
  color: #13263a;
  line-height: 1.24;
}

.benefit-card p {
  color: #607486;
  font-size: 0.98rem;
  line-height: 1.68;
}

.product-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  align-items: stretch;
}

.product-cards article {
  display: grid;
  align-content: start;
  gap: 0.45rem;
  min-height: 118px;
  border: 1px solid rgba(18, 32, 51, 0.08);
  border-radius: 22px;
  padding: 1.22rem 1.18rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 36px rgba(35, 63, 92, 0.08);
}

.product-cards article h3 {
  margin-bottom: 0.34rem;
  color: #12263a;
}

.product-cards p {
  color: #607486;
}

.specs-shell {
  border-radius: 28px;
  box-shadow: 0 26px 58px rgba(35, 63, 92, 0.12);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.spec-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1rem;
  background: linear-gradient(175deg, rgba(7, 25, 38, 0.86), rgba(4, 17, 28, 0.8));
  box-shadow: inset 0 1px 0 rgba(201, 236, 255, 0.06);
}

.spec-card-performance {
  border-color: rgba(125, 213, 251, 0.34);
}

.spec-card-io {
  border-color: rgba(255, 188, 126, 0.3);
}

.spec-card-environment {
  border-color: rgba(135, 224, 188, 0.28);
}

.spec-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  margin: 0 0 0.5rem;
  padding: 0.24rem 0.58rem 0.24rem 0.36rem;
  border: 1px solid rgba(144, 200, 233, 0.28);
  border-radius: 999px;
  background: rgba(9, 32, 48, 0.58);
  color: #adcadf;
  font-size: 0.66rem;
  line-height: 1;
  letter-spacing: 0.08em;
  font-weight: 700;
  text-transform: uppercase;
}

.spec-card-badge::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 1px solid rgba(144, 200, 233, 0.45);
  border-radius: 4px;
  background: linear-gradient(160deg, rgba(46, 134, 182, 0.42), rgba(12, 36, 52, 0.9));
  flex: 0 0 14px;
}

.spec-card-performance .spec-card-badge::before {
  border-color: rgba(144, 224, 255, 0.62);
  background:
    linear-gradient(to top, #9be8ff 100%, #9be8ff 100%) 2px calc(100% - 2px) / 2px 4px no-repeat,
    linear-gradient(to top, #9be8ff 100%, #9be8ff 100%) 6px calc(100% - 2px) / 2px 7px no-repeat,
    linear-gradient(to top, #9be8ff 100%, #9be8ff 100%) 10px calc(100% - 2px) / 2px 10px no-repeat,
    linear-gradient(165deg, rgba(65, 161, 212, 0.36), rgba(7, 26, 39, 0.92));
}

.spec-card-io .spec-card-badge::before {
  border-color: rgba(255, 194, 137, 0.58);
  border-radius: 3px;
  background:
    radial-gradient(circle at 50% 50%, #ffd2a8 20%, transparent 23%),
    linear-gradient(#ffd2a8, #ffd2a8) 2px 2px / 10px 1px no-repeat,
    linear-gradient(#ffd2a8, #ffd2a8) 2px calc(100% - 3px) / 10px 1px no-repeat,
    linear-gradient(#ffd2a8, #ffd2a8) 2px 2px / 1px 10px no-repeat,
    linear-gradient(#ffd2a8, #ffd2a8) calc(100% - 3px) 2px / 1px 10px no-repeat,
    linear-gradient(165deg, rgba(180, 126, 80, 0.36), rgba(29, 20, 13, 0.9));
}

.spec-card-environment .spec-card-badge::before {
  border-color: rgba(144, 231, 189, 0.58);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, #92f0c6 24%, transparent 26%),
    radial-gradient(circle at 50% 50%, transparent 43%, #92f0c6 46%, transparent 49%),
    linear-gradient(165deg, rgba(50, 129, 100, 0.4), rgba(9, 27, 21, 0.9));
}

.spec-card h3 {
  margin-bottom: 0.64rem;
  font-size: 1.02rem;
  line-height: 1.24;
  letter-spacing: 0.01em;
}

.spec-list {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 0.34rem 0;
}

.spec-list div {
  border-radius: 14px;
  padding: 0.72rem 0.78rem;
}

.spec-list dt,
.spec-list dd {
  margin: 0;
  align-self: stretch;
  padding: 0.54rem 0.62rem;
  border: 1px solid rgba(146, 202, 235, 0.2);
  background: linear-gradient(150deg, rgba(8, 28, 43, 0.66), rgba(5, 18, 30, 0.42));
}

.spec-list dt:nth-of-type(even),
.spec-list dt:nth-of-type(even) + dd {
  background: linear-gradient(150deg, rgba(6, 23, 36, 0.72), rgba(5, 17, 27, 0.48));
}

.spec-list dt {
  color: #d8e9f8;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.34;
  border-right: 0;
  border-radius: 10px 0 0 10px;
}

.spec-list dd {
  text-align: right;
  color: #f0f8ff;
  font-size: 0.83rem;
  font-weight: 700;
  line-height: 1.34;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
  white-space: normal;
  max-width: 25ch;
  justify-self: stretch;
  border-left: 0;
  border-radius: 0 10px 10px 0;
}

.spec-doc-links {
  margin-top: 1.08rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.82rem;
}

.spec-doc-links a {
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 0.82rem 1rem;
  border: 1px solid rgba(26, 60, 91, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  color: #20415f;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.spec-doc-links a:hover {
  background: rgba(242, 248, 253, 1);
  color: #102235;
  border-color: rgba(26, 60, 91, 0.2);
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  align-items: stretch;
}

.roadmap-step {
  display: grid;
  align-content: start;
  gap: 0.45rem;
  min-height: 100%;
  border: 1px solid rgba(18, 32, 51, 0.1);
  border-radius: 22px;
  padding: 1.22rem 1.18rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 34px rgba(42, 73, 104, 0.08);
}

.roadmap-step span {
  display: inline-block;
  margin-bottom: 0.38rem;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.roadmap-step h3 {
  margin-bottom: 0.55rem;
  color: #102235;
  line-height: 1.28;
}

.roadmap-step p {
  color: #607486;
  font-size: 0.98rem;
  line-height: 1.68;
}

.docs-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.docs-list li {
  margin: 0;
  color: #607486;
}

.docs-list a {
  display: flex;
  align-items: center;
  min-height: 84px;
  padding: 1rem 1.08rem;
  border: 1px solid rgba(18, 32, 51, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 36px rgba(35, 63, 92, 0.08);
  color: #136fb8;
  text-decoration: none;
  line-height: 1.45;
}

.docs-list a:hover {
  color: #0d4f82;
}

.faq details {
  border: 1px solid rgba(18, 32, 51, 0.1);
  border-radius: 22px;
  padding: 1.15rem 1.18rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 34px rgba(42, 73, 104, 0.08);
}

.faq details + details {
  margin-top: 0.75rem;
}

.faq summary {
  cursor: pointer;
  color: #13263a;
  font-weight: 700;
}

.faq p {
  margin-top: 0.75rem;
  color: #607486;
}

.cta-box {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(18, 32, 51, 0.08);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 26px 58px rgba(35, 63, 92, 0.1);
}

.cta-box img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.cta-box > div {
  display: grid;
  align-content: center;
  gap: 1rem;
  padding: clamp(1.35rem, 2.4vw, 2rem);
}

.cta-box p {
  color: #607486;
  font-size: 0.98rem;
  line-height: 1.68;
}

@media (max-width: 1024px) {
  .cta-box {
    gap: 1rem;
  }
}

@media (max-width: 1200px) {
  .tile-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .benefits-grid,
  .roadmap-grid,
  .spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .docs-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  .principles-grid,
  .product-cards,
  .spec-grid,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .cta-box img {
    min-height: 240px;
  }
}

@media (max-width: 768px) {
  .tile-grid,
  .benefits-grid,
  .roadmap-grid,
  .spec-doc-links {
    grid-template-columns: 1fr;
  }

  .principle,
  .tile,
  .roadmap-step,
  .benefit-card,
  .faq details,
  .product-cards article {
    border-radius: 20px;
    padding: 1.05rem;
  }

  .spec-list div {
    grid-template-columns: 1fr;
    gap: 0.24rem;
  }

  .spec-list dd {
    text-align: left;
    white-space: normal;
    max-width: none;
    justify-self: start;
  }

  .cta-box img {
    min-height: 220px;
  }
}

@media (max-width: 560px) {
  .principle,
  .tile,
  .benefit-card,
  .roadmap-step,
  .product-cards article,
  .spec-card {
    padding: 0.92rem;
  }
}

@media (max-width: 390px) {
  .tile p,
  .benefit-card p,
  .roadmap-step p {
    font-size: 0.9rem;
  }
}

@media (min-width: 1440px) {
  .tile-grid,
  .benefits-grid {
    gap: 1.1rem;
  }
}
