html {
  scroll-padding-top: 96px;
}

section[id] {
  scroll-margin-top: 96px;
}

.products-hero,
.product-section {
  width: min(1240px, 100%);
  margin: 0 auto;
  padding-right: 32px;
  padding-left: 32px;
}

.products-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.38fr);
  gap: 28px;
  align-items: stretch;
  padding-top: 34px;
}

.products-hero-copy {
  min-height: 430px;
  padding: clamp(34px, 5vw, 58px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(244, 246, 247, 0.96), rgba(244, 246, 247, 0.72)),
    url("assets/iken-hero-tools-v1.png") center right / cover no-repeat;
}

.products-hero h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(42px, 5.8vw, 74px);
  line-height: 1.08;
}

.products-hero-copy > p:not(.eyebrow) {
  max-width: 780px;
  margin: 24px 0 0;
  color: #3f4e57;
  font-size: 18px;
  line-height: 1.85;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.product-primary,
.product-secondary {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.2;
}

.product-primary {
  color: #fff;
  background: var(--red);
}

.product-primary:hover {
  background: var(--red-dark);
}

.product-secondary {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
}

.product-secondary:hover {
  border-color: #a8b5bd;
}

.products-hero-panel {
  padding: 30px;
  display: grid;
  align-content: center;
  gap: 28px;
  color: #fff;
  border: 1px solid #40515a;
  border-radius: 8px;
  background: #24343d;
}

.products-hero-panel strong {
  color: #e8f0f3;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.22;
}

.products-hero-panel em {
  color: #ffaaa6;
  font-style: normal;
}

.product-value-list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.product-value-list span {
  min-height: 70px;
  display: flex;
  align-items: center;
  padding: 12px 0 12px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: #d7e0e4;
  font-size: 17px;
  font-weight: 850;
  line-height: 1.5;
  box-shadow: inset 4px 0 0 rgba(255, 170, 166, 0.72);
}

.product-section {
  padding-top: 78px;
}

.product-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.product-section-head h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.16;
}

.product-section-head > p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.pillar-grid,
.iken-matrix,
.combination-grid {
  display: grid;
  gap: 18px;
  align-items: start;
}

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

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

.pillar-card,
.matrix-card,
.combination-band {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(24, 34, 42, 0.06);
}

.pillar-card summary,
.matrix-card summary,
.combination-band summary {
  display: grid;
  gap: 12px;
  padding: 24px;
  cursor: pointer;
  list-style: none;
}

.pillar-card summary {
  grid-template-rows: 76px 28px 32px 78px minmax(45px, auto) 38px;
  min-height: 405px;
}

.pillar-card summary::-webkit-details-marker,
.matrix-card summary::-webkit-details-marker,
.combination-band summary::-webkit-details-marker {
  display: none;
}

.pillar-card summary:focus-visible,
.matrix-card summary:focus-visible,
.combination-band summary:focus-visible {
  outline: 3px solid rgba(189, 48, 44, 0.24);
  outline-offset: -3px;
}

.pillar-card h3,
.matrix-card h3,
.combination-band h2 {
  margin: 0;
}

.pillar-card p,
.matrix-card p,
.combination-band p,
.detail-panel li,
.combination-grid p {
  color: var(--muted);
  line-height: 1.72;
}

.pillar-card p,
.matrix-card p,
.combination-band p {
  margin: 0;
}

.tec-pillar {
  order: 2;
  color: var(--ink);
  border-color: var(--line);
  background:
    linear-gradient(135deg, rgba(189, 48, 44, 0.07), transparent 56%),
    #fff;
  box-shadow: 0 12px 32px rgba(24, 34, 42, 0.06);
}

.tec-pillar p,
.tec-pillar .detail-panel li {
  color: #535f67;
}

.tec-pillar .product-tag {
  color: #fff;
  background: #e60012;
}

.iken-pillar {
  order: 1;
  position: relative;
  background:
    linear-gradient(135deg, rgba(105, 145, 187, 0.1), rgba(105, 145, 187, 0.03) 34%, transparent 64%),
    #fff;
}

.iken-pillar summary {
  position: relative;
}

.iken-pillar .product-tag {
  color: #fff;
  background: #4f78a7;
}

.iken-pillar .summary-action {
  color: #315f91;
  border-color: rgba(79, 120, 167, 0.55);
}

.pillar-logo {
  display: grid;
  width: fit-content;
  min-width: 128px;
  min-height: 54px;
  place-items: center;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 1.12rem;
  font-weight: 900;
}

.placeholder-logo {
  border: 1px dashed rgba(255, 255, 255, 0.54);
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
}

.tungaloy-logo-wrap {
  display: inline-flex;
  width: fit-content;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.tungaloy-logo-wrap img {
  display: block;
  width: min(190px, 100%);
  max-height: 76px;
  height: auto;
  object-fit: contain;
}

.tungaloy-product-strip {
  display: flex;
  flex-wrap: wrap;
  align-self: start;
  gap: 8px;
  margin: 4px 0 0;
  padding-top: 14px;
  border-top: 1px solid #e2e6e9;
}

.tungaloy-product-strip span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid #d4dadd;
  border-radius: 8px;
  color: #46545d;
  background: #fff;
  font-size: 0.84rem;
  font-weight: 900;
}

.iken-brand-line {
  display: inline-flex;
  width: fit-content;
  min-height: 54px;
  align-items: center;
  justify-content: flex-start;
  justify-self: start;
  padding: 0;
}

.iken-brand-line img {
  display: block;
  width: min(225px, 100%);
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.iken-service-line {
  display: flex;
  flex-wrap: wrap;
  align-self: start;
  gap: 8px;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.iken-service-line span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(105, 145, 187, 0.28);
  border-radius: 8px;
  color: #3f6288;
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
  font-weight: 900;
}

.iken-service-line span:not(:last-child)::after {
  content: none;
}

.product-tag {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  padding: 0 9px;
  border-radius: 8px;
  color: var(--red);
  background: rgba(189, 48, 44, 0.08);
  font-size: 0.78rem;
  font-weight: 900;
}

.summary-action {
  display: inline-flex;
  width: fit-content;
  min-height: 38px;
  align-items: center;
  margin-top: 4px;
  padding: 0 12px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: var(--red);
  font-size: 0.9rem;
  font-weight: 900;
}

.tec-pillar .summary-action {
  color: #e60012;
}

.summary-action::after {
  content: "+";
  margin-left: 8px;
}

details[open] > summary .summary-action::after {
  content: "-";
}

.detail-panel {
  display: none;
  position: fixed;
  z-index: 40;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(560px, calc(100vw - 28px));
  overflow-y: auto;
  padding: 32px;
  border-left: 1px solid var(--line);
  background: #fff;
  box-shadow: -20px 0 54px rgba(24, 34, 42, 0.18);
}

details[open] > .detail-panel {
  display: block;
}

.detail-panel::before {
  content: "DETAIL";
  display: block;
  margin-bottom: 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
}

.product-detail-panel {
  display: none;
}

.detail-title-block {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.detail-kicker {
  color: #315f91;
  font-size: 0.78rem;
  font-weight: 900;
}

.detail-title-block h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.45rem;
}

.detail-title-block p,
.detail-info-grid p,
.product-photo-placeholder span {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.matrix-feature .detail-panel h3,
.matrix-feature .detail-panel h4 {
  color: var(--ink);
}

.matrix-feature .detail-panel p,
.matrix-feature .detail-info-grid p,
.matrix-feature .product-photo-placeholder span {
  color: var(--muted);
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.detail-tags span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(79, 120, 167, 0.28);
  border-radius: 8px;
  color: #315f91;
  background: rgba(105, 145, 187, 0.1);
  font-size: 0.84rem;
  font-weight: 900;
}

.iken-system-panel {
  background:
    linear-gradient(135deg, rgba(105, 145, 187, 0.08), transparent 38%),
    #fff;
}

.iken-system-cards {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.iken-system-cards article {
  padding: 16px;
  border: 1px solid rgba(105, 145, 187, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.iken-system-cards span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 50%;
  color: #fff;
  background: #4f78a7;
  font-size: 0.76rem;
  font-weight: 900;
}

.iken-system-cards h4 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1rem;
}

.iken-system-cards p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.iken-system-flow {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding: 14px;
  border: 1px solid rgba(105, 145, 187, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(105, 145, 187, 0.1), rgba(255, 255, 255, 0.78)),
    #f7f9fa;
  list-style: none;
}

.iken-system-flow li {
  position: relative;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 40px;
}

.iken-system-flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 55px;
  bottom: -8px;
  width: 1px;
  height: 8px;
  background: rgba(79, 120, 167, 0.32);
}

.iken-system-flow span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(79, 120, 167, 0.3);
  border-radius: 8px;
  color: #315f91;
  background: #fff;
  font-size: 0.82rem;
  font-weight: 900;
}

.iken-system-flow em {
  color: var(--muted);
  font-size: 0.88rem;
  font-style: normal;
  line-height: 1.5;
}

.iken-system-tags {
  margin-bottom: 18px;
}

.product-photo-placeholder {
  display: grid;
  min-height: 210px;
  align-content: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 24px;
  border: 1px dashed rgba(79, 120, 167, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(105, 145, 187, 0.12), rgba(255, 255, 255, 0.7)),
    #f7f9fa;
}

.product-photo-placeholder strong {
  color: #24343d;
  font-size: 1.05rem;
}

.product-photo-real {
  position: relative;
  min-height: auto;
  padding: 12px;
  overflow: hidden;
  border-style: solid;
  border-color: rgba(120, 136, 146, 0.22);
  background: #fff;
}

.product-visual {
  margin: 0 0 18px;
}

.product-visual .product-photo-placeholder {
  margin-bottom: 0;
}

.product-visual figcaption {
  margin: 9px 2px 0;
  color: #66747d;
  font-size: 0.82rem;
  line-height: 1.62;
}

.product-photo-real .ai-image-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid rgba(49, 95, 145, 0.28);
  border-radius: 6px;
  color: #274f79;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 4px 12px rgba(25, 39, 49, 0.08);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.2;
}

.product-photo-real > img:not(.product-photo-mark),
.product-photo-main {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.product-photo-branded {
  position: relative;
}

.product-photo-branded .product-photo-main {
  padding-bottom: 0;
}

.product-photo-branded .product-photo-mark {
  position: absolute;
  right: 16px;
  bottom: 14px;
  width: min(28%, 140px);
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  pointer-events: none;
}

.product-photo-custom .product-photo-mark {
  right: 20px;
  bottom: 22px;
}

.detail-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.detail-info-grid article {
  min-height: 132px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.detail-info-grid h4 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1rem;
}

.detail-flow {
  display: grid;
  gap: 0;
  margin-bottom: 18px;
  padding: 0;
  list-style: none;
}

.detail-flow li {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 4px 12px;
  min-height: 76px;
  padding: 0 0 18px;
}

.detail-flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 37px;
  bottom: 0;
  left: 18px;
  width: 1px;
  background: rgba(79, 120, 167, 0.28);
}

.detail-flow span {
  display: grid;
  grid-row: 1 / span 2;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(79, 120, 167, 0.32);
  border-radius: 50%;
  color: #315f91;
  background: rgba(105, 145, 187, 0.1);
  font-size: 0.72rem;
  font-weight: 900;
}

.detail-flow strong {
  color: #315f91;
  font-size: 0.86rem;
  font-weight: 900;
}

.detail-flow em {
  color: var(--muted);
  font-size: 0.86rem;
  font-style: normal;
  line-height: 1.58;
}

.detail-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(79, 120, 167, 0.45);
  border-radius: 8px;
  color: #315f91;
  background: #fff;
  font-weight: 900;
}

.drawer-close {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #40505a;
  background: #fff;
  cursor: pointer;
  font-weight: 900;
}

.drawer-close:hover,
.drawer-close:focus-visible {
  color: var(--red);
  border-color: rgba(189, 48, 44, 0.36);
  outline: none;
}

.detail-panel ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 18px 0 0 18px;
  border-top: 1px solid rgba(120, 136, 146, 0.28);
}

.tec-pillar .detail-panel ul {
  border-top-color: #d7dde1;
}

.certificate-preview {
  display: grid;
  min-height: 118px;
  place-items: center;
  border: 1px dashed #b8c3ca;
  border-radius: 8px;
  color: #61707a;
  background:
    linear-gradient(135deg, rgba(189, 48, 44, 0.08), transparent),
    #f7f9fa;
  font-weight: 900;
}

.certificate-inline {
  min-height: 156px;
  margin: 0 0 18px;
  color: #5c6870;
  border-color: #b8c3ca;
  background:
    linear-gradient(135deg, rgba(230, 0, 18, 0.08), rgba(255, 255, 255, 0)),
    #f7f9fa;
}

.certificate-real {
  display: block;
  margin-bottom: 10px;
  padding: 10px;
  border-style: solid;
  background: #fff;
}

.certificate-real img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.certificate-disclosure {
  margin: 0 2px 18px;
  color: #66747d;
  font-size: 0.8rem;
  line-height: 1.6;
}

.matrix-card summary {
  min-height: 322px;
}

.matrix-feature {
  grid-column: span 2;
  color: #fff;
  border-color: #315f91;
  background:
    linear-gradient(135deg, rgba(79, 120, 167, 0.96), rgba(36, 52, 61, 0.96)),
    #4f78a7;
}

.matrix-feature p,
.matrix-feature .detail-panel li {
  color: rgba(255, 255, 255, 0.82);
}

.product-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 8px;
  border-radius: 8px;
  color: #fff;
  background: #24343d;
  font-weight: 900;
}

.matrix-feature .product-icon {
  color: #315f91;
  background: #fff;
}

.matrix-feature .product-tag {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.matrix-feature .summary-action {
  color: #fff;
}

.matrix-card .summary-action {
  margin-top: auto;
}

.combination-band {
  background:
    linear-gradient(90deg, rgba(71, 103, 93, 0.11), rgba(189, 48, 44, 0.08)),
    #fff;
}

#combination {
  margin-bottom: 72px;
}

.combination-band summary {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 190px;
}

.route-label {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  margin-bottom: 12px;
  padding: 0 9px;
  border-radius: 4px;
  color: #fff;
  background: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
}

.combination-body {
  padding: 0 24px 24px;
}

.combination-logic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.combination-logic article {
  position: relative;
  min-height: 168px;
  padding: 20px;
  border: 1px solid rgba(120, 136, 146, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.combination-logic article:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -14px;
  z-index: 2;
  width: 16px;
  height: 16px;
  border-top: 2px solid rgba(189, 48, 44, 0.42);
  border-right: 2px solid rgba(189, 48, 44, 0.42);
  transform: translateY(-50%) rotate(45deg);
  background: transparent;
}

.combination-logic span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 50%;
  color: #fff;
  background: #4f78a7;
  font-size: 0.8rem;
  font-weight: 900;
}

.combination-logic h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1.08rem;
}

.combination-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 1px;
  padding: 0;
}

.combination-grid article {
  height: 100%;
  min-height: 152px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.combination-grid h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

@media (max-width: 980px) {
  .products-hero,
  .pillar-grid,
  .iken-matrix,
  .combination-logic,
  .combination-grid {
    grid-template-columns: 1fr;
  }

  .matrix-feature {
    grid-column: auto;
  }

  .product-section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .combination-band summary {
    grid-template-columns: 1fr;
  }

  .combination-logic article:not(:last-child)::after {
    top: auto;
    right: 50%;
    bottom: -12px;
    transform: translateX(50%) rotate(135deg);
  }

  .combination-logic article {
    min-height: 212px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 0;
  }

  section[id] {
    scroll-margin-top: 16px;
  }

  .products-hero,
  .product-section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .products-hero {
    padding-top: 18px;
  }

  .products-hero-copy,
  .products-hero-panel {
    min-height: auto;
    padding: 22px;
  }

  .products-hero h1 {
    font-size: 42px;
  }

  .product-section {
    padding-top: 58px;
  }

  .product-section-head h2 {
    font-size: 32px;
  }

  .matrix-card summary {
    min-height: auto;
  }

  .pillar-card summary {
    grid-template-rows: none;
    min-height: auto;
  }

  .detail-info-grid,
  .detail-flow {
    grid-template-columns: 1fr;
  }
}
