.edge-product {
  --edge-bg: #0a1421;
  --edge-deep: #08111c;
  --edge-band: #101d2b;
  --edge-panel: #142337;
  --edge-rule: #314359;
  --edge-text: #f1f6ff;
  --edge-copy: #b4c7dc;
  --edge-muted: #9bafc5;
  --edge-accent: #a3e6ff;
  --edge-highlight: #c5f2ff;
  --edge-industrial: #284763;
  color: var(--edge-text);
  background: var(--edge-bg);
}

.edge-product .edge-shell {
  max-width: 1536px;
}

.edge-product :is(h1, h2, h3, p, figure, ol, ul, dl, dd) {
  margin: 0;
}

.edge-product :is(h1, h2, h3) {
  color: var(--edge-text);
  overflow-wrap: anywhere;
}

.edge-product h2 {
  font-size: clamp(26px, 3vw, 47px);
  line-height: 1.19;
  letter-spacing: -.045em;
  font-weight: 680;
}

.edge-product h3 {
  font-size: clamp(17px, 1.65vw, 25px);
  line-height: 1.32;
  letter-spacing: -.025em;
  font-weight: 660;
}

.edge-product p {
  color: var(--edge-copy);
  font-size: 15px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.edge-icon {
  flex: 0 0 auto;
}

.edge-hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(25px, 3vw, 46px) clamp(48px, 6.2vw, 94px);
  border-bottom: 1px solid var(--edge-rule);
  background:
    radial-gradient(ellipse at 75% 25%, #233d57 0%, transparent 58%),
    linear-gradient(165deg, #111f30, var(--edge-deep) 84%);
}

.edge-path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: clamp(24px, 4vw, 60px);
  color: var(--edge-muted);
  font-size: 13px;
  line-height: 1.4;
}

.edge-path a {
  color: var(--edge-copy);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.edge-hero-grid,
.edge-overview-grid,
.edge-hardware-grid,
.edge-contact-grid {
  display: grid;
  align-items: center;
  gap: clamp(26px, 4.6vw, 76px);
}

.edge-hero-grid {
  grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr);
}

.edge-hero .edge-english {
  margin-bottom: 12px;
  color: var(--edge-accent);
  font-size: 13px;
  font-weight: 660;
  letter-spacing: .025em;
  line-height: 1.45;
}

.edge-hero h1 {
  font-size: clamp(42px, 5vw, 78px);
  font-weight: 740;
  letter-spacing: -.067em;
  line-height: 1.04;
}

.edge-hero h1 span {
  display: block;
}

.edge-hero h1 span:first-child {
  color: var(--edge-accent);
}

.edge-hero .edge-slogan {
  max-width: 28ch;
  margin-top: clamp(14px, 2vw, 26px);
  color: var(--edge-text);
  font-size: clamp(16px, 1.55vw, 24px);
  font-weight: 545;
  line-height: 1.57;
}

.edge-hero .edge-hero-tags {
  margin-top: 15px;
  color: var(--edge-muted);
  font-size: 13px;
  line-height: 1.35;
}

.edge-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(20px, 2.5vw, 35px);
}

.edge-product .edge-action {
  min-height: 46px;
  gap: 15px;
  padding: 11px 15px;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 680;
  line-height: 1.25;
}

.edge-product .edge-action .edge-icon {
  width: 16px;
  height: 16px;
}

.edge-product .edge-action-primary {
  color: #09243a;
  background: var(--edge-accent);
}

.edge-product .edge-action-primary:hover {
  background: var(--edge-highlight);
}

.edge-product .edge-action-secondary {
  color: var(--edge-text);
  border-color: #5a748d;
  background: #111f30aa;
}

.edge-product .edge-action-secondary:hover {
  border-color: var(--edge-accent);
  background: #263c52;
}

.edge-product :is(a, button):focus-visible {
  outline: 2px solid var(--edge-highlight);
  outline-offset: 4px;
}

.edge-photo {
  min-width: 0;
}

.edge-photo-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid #3b526b;
  border-radius: 6px;
  background: #0b1725;
}

.edge-photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.edge-photo-algorithm .edge-photo-frame img {
  object-fit: cover;
}

.edge-photo figcaption {
  margin-top: 7px;
  color: var(--edge-muted);
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.edge-photo-hero .edge-photo-frame {
  box-shadow: 0 22px 58px #02070f70;
}

.edge-photo-empty {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--edge-copy);
  background: radial-gradient(ellipse at 50% 15%, #233d57 0%, #0b1725 68%);
  font-size: 13px;
}

.edge-photo-empty .edge-icon {
  color: var(--edge-accent);
}

.edge-block {
  padding-block: clamp(45px, 6.6vw, 102px);
  border-bottom: 1px solid var(--edge-rule);
  scroll-margin-top: 20px;
}

.edge-overview-grid {
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
}

.edge-section-heading {
  max-width: 52rem;
  margin-bottom: clamp(21px, 3vw, 39px);
}

.edge-product .edge-subtitle,
.edge-section-heading h2 + p,
.edge-contact h2 + p {
  margin-top: 12px;
}

.edge-prose {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.edge-product :is(.edge-benefits, .edge-specs) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 14px;
  margin-top: 20px;
}

.edge-benefits > div,
.edge-specs > div {
  min-width: 0;
  padding: 12px 0;
  border-top: 1px solid var(--edge-rule);
}

.edge-product dt {
  color: var(--edge-accent);
  font-size: 14px;
  font-weight: 670;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.edge-product dd,
.edge-product dd p {
  margin-top: 4px;
  color: var(--edge-copy);
  font-size: 13px;
  line-height: 1.64;
  overflow-wrap: anywhere;
}

.edge-algorithms {
  background: linear-gradient(165deg, #142438, var(--edge-deep) 73%);
}

.edge-algorithm-grid,
.edge-scenario-grid {
  display: grid;
  gap: clamp(12px, 1.65vw, 26px);
}

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

.edge-algorithm-card,
.edge-scenario-card {
  min-width: 0;
  border: 1px solid var(--edge-rule);
  border-radius: 7px;
  background: var(--edge-panel);
}

.edge-algorithm-card {
  overflow: hidden;
}

.edge-photo-algorithm {
  position: relative;
}

.edge-photo-algorithm .edge-photo-frame {
  border: 0;
  border-bottom: 1px solid var(--edge-rule);
  border-radius: 0;
}

.edge-photo-algorithm figcaption {
  position: absolute;
  bottom: 7px;
  left: 8px;
  right: 8px;
  width: fit-content;
  padding: 3px 6px;
  border-radius: 2px;
  color: #f0f6ff;
  background: #06101aea;
}

.edge-algorithm-copy {
  display: grid;
  gap: 7px;
  padding: clamp(12px, 1.55vw, 22px);
}

.edge-algorithm-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.edge-algorithm-copy p {
  font-size: 14px;
  line-height: 1.62;
}

.edge-algorithm-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 7px;
  border: 1px solid #6b6043;
  border-radius: 20px;
  color: #f4d18c;
  background: #31291d;
  font-size: 11px;
  font-weight: 670;
  white-space: nowrap;
}

.edge-algorithm-status::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  content: '';
}

.edge-algorithm-status[data-state="live"] {
  border-color: #4b826d;
  color: #a8f0ca;
  background: #173b34;
}

.edge-algorithm-status[data-state="adapt"] {
  border-color: #59789c;
  color: #c7ddff;
  background: #233b56;
}

.edge-algorithm-status[data-state="offline"] {
  border-color: #5b6b7c;
  color: #d2dce5;
  background: #263441;
}

.edge-algorithm-copy .edge-algorithm-note {
  padding-top: 7px;
  border-top: 1px solid var(--edge-rule);
  color: var(--edge-muted);
  font-size: 12px;
}

.edge-hardware-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
}

.edge-hardware-grid .edge-photo-frame {
  box-shadow: 0 18px 35px #02070f4d;
}

.edge-workflow {
  background: var(--edge-band);
}

.edge-flow-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  list-style: none;
}

.edge-flow-list li {
  position: relative;
  min-width: 0;
  padding: 13px 14px 16px;
  border: 1px solid var(--edge-rule);
  border-radius: 5px;
  background: var(--edge-bg);
}

.edge-flow-list h3 {
  margin-top: 12px;
  font-size: 15px;
}

.edge-flow-list p {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.58;
}

.edge-flow-node {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 1px solid var(--edge-industrial);
  border-radius: 5px;
  color: var(--edge-accent);
  background: #173048;
}

.edge-flow-arrow {
  position: absolute;
  z-index: 1;
  top: 25px;
  right: -17px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  color: var(--edge-accent);
  background: var(--edge-band);
}

.edge-flow-arrow .edge-icon {
  width: 15px;
  height: 15px;
}

.edge-scenario-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.edge-scenario-card {
  padding: clamp(13px, 2vw, 29px);
}

.edge-scenario-card > .edge-icon {
  margin-bottom: 11px;
  color: var(--edge-accent);
}

.edge-scenario-card h3 {
  margin-bottom: 5px;
  font-size: 18px;
}

.edge-scenario-card p {
  font-size: 14px;
  line-height: 1.62;
}

.edge-contact {
  padding-block: clamp(28px, 5vw, 64px);
  background: linear-gradient(125deg, #1a3048, #102135);
}

.edge-contact-grid {
  grid-template-columns: minmax(0, 1fr) auto;
}

.edge-contact h2 {
  font-size: clamp(23px, 2.65vw, 40px);
}

body[data-library="edge-intelligence"] .contact {
  background: #0a1421;
}

body[data-library="edge-intelligence"]:has(.edge-contact) .contact {
  padding-top: 0;
}

body[data-library="edge-intelligence"]:has(.edge-contact) :is(.contact-top, .contact-heading, .contact-details) {
  display: none;
}

body[data-library="edge-intelligence"]:has(.edge-contact) .site-footer {
  margin-top: 0;
}

@media (max-width: 1150px) {
  .edge-flow-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .edge-flow-list li:nth-child(3n) .edge-flow-arrow {
    display: none;
  }
}

@media (max-width: 820px) {
  .edge-algorithm-grid,
  .edge-scenario-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .edge-hero-grid,
  .edge-overview-grid,
  .edge-hardware-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .edge-overview-grid > figure {
    order: 1;
  }
}

@media (max-width: 540px) {
  .edge-algorithm-grid,
  .edge-flow-list,
  .edge-contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .edge-flow-list li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 11px;
  }

  .edge-flow-list h3 {
    margin-top: 0;
  }

  .edge-flow-list li .edge-flow-arrow,
  .edge-flow-list li:nth-child(3n) .edge-flow-arrow {
    display: grid;
    top: auto;
    right: auto;
    bottom: -17px;
    left: 22px;
    rotate: 90deg;
  }

  .edge-contact-grid {
    gap: 16px;
  }

  .edge-contact-grid > button {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .edge-product .edge-action {
    transition: none;
  }
}
