/* Device composition. The desktop is an HTML preview; the phone uses an actual supplied app screen. */
.hero-visual.hero-devices {
  container-type: inline-size;
  width: 100%;
  max-width: 670px;
  padding: 18px 0 15px;
  margin-top: 0;
}
.devices-topline {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0 1% 0 2%;
  color: #758297;
  font-size: 8px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .12em;
}
.hero-device-pair { position: relative; margin: 0; }
.hero-device-scene {
  position: relative;
  width: 100%;
  height: clamp(315px, 66cqw, 430px);
}
.hero-device-scene::after {
  content: "";
  position: absolute;
  inset: auto 1% 6% 3%;
  height: 9%;
  border-radius: 50%;
  background: rgba(23,36,58,.1);
  filter: blur(16px);
  z-index: -1;
  pointer-events: none;
}
/* Reusable laptop hardware. A content screen can supply a different aspect ratio. */
.device-laptop { position: relative; min-width: 0; }
.device-laptop__lid {
  position: relative;
  padding: 3.1% 1.6% 2.1%;
  border: 1px solid #394253;
  border-radius: 12px 12px 4px 4px;
  background: linear-gradient(140deg, #2b3547, #131c2b 55%, #243044);
  box-shadow: inset 0 0 0 1px #ffffff0c, 0 24px 40px -20px #1a2a4659;
}
.device-laptop__camera {
  position: absolute;
  left: calc(50% - 1.5px);
  top: 1.15%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #101b2c;
  box-shadow: 0 0 0 1px #ffffff13, inset 0 0 0 1px #52739c4d;
}
.device-laptop__screen {
  position: relative;
  container-type: inline-size;
  aspect-ratio: 16 / 10.4;
  overflow: hidden;
  border-radius: 3px;
  background: #f1f3f6;
}
.device-laptop__base {
  position: relative;
  height: clamp(7px, 1.65cqw, 12px);
  margin: 0 -3.5%;
  border: 1px solid #c1c7d0;
  border-top: 1px solid #f4f6fa;
  border-radius: 1px 1px 50% 50% / 1px 1px 85% 85%;
  background: linear-gradient(#e7ebf0 0, #c3cbd6 45%, #9aa5b5 100%);
  box-shadow: 0 5px 6px #17243a12;
}
.device-laptop__base::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 43%;
  width: 14%;
  height: 40%;
  border-radius: 0 0 5px 5px;
  background: #aeb7c4;
  box-shadow: inset 0 -1px 1px #f0f3f7;
}
.hero-laptop {
  position: absolute;
  left: 1.4%;
  top: 13%;
  width: 75.2%;
  z-index: 1;
}
.hero-iphone {
  position: absolute;
  right: 0;
  bottom: 7%;
  width: 24%;
  z-index: 2;
}
.device-iphone {
  position: relative;
  padding: 3.8%;
  border: 1px solid #485264;
  border-radius: 15.5% / 7.2%;
  background: #172031;
  box-shadow: inset 0 0 0 1px #ffffff24, 0 22px 40px -17px #17243a75, 0 3px 8px #17243a12;
}
.device-iphone::before {
  content: "";
  position: absolute;
  top: 17%;
  left: -2px;
  width: 2px;
  height: 10%;
  border-radius: 2px 0 0 2px;
  background: #344056;
}
.device-iphone::after {
  content: "";
  position: absolute;
  top: 24%;
  right: -2px;
  width: 2px;
  height: 8%;
  border-radius: 0 2px 2px 0;
  background: #344056;
}
.device-iphone__screen {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 645 / 1400;
  border-radius: 12% / 5.6%;
  background: #fff;
}
.devices-caption {
  position: relative;
  margin: 0;
  text-align: center;
  color: #6e7a8d;
  font-size: 9px;
  line-height: 1.6;
}
.devices-caption > span { padding-inline: 4px; }
.devices-scene-note { display: none; }

/* Screen dimensions scale together as a factual HTML illustration. */
.device-inventory {
  display: flex;
  width: 100%;
  height: 100%;
  font-family: var(--font-body);
  color: #17243a;
  line-height: 1.3;
}
.device-inventory p { margin: 0; text-wrap: initial; }
.di-sidebar {
  flex: 0 0 19%;
  min-width: 0;
  padding: 3.4cqw 1.7cqw;
  background: #fff;
  border-right: .17cqw solid #e2e6ed;
}
.di-logo { display: flex; align-items: center; gap: .5cqw; margin-bottom: 3.7cqw !important; font-size: 2.5cqw; font-weight: 700; letter-spacing: -.12cqw; }
.di-logo > span { width: .7cqw; height: .7cqw; border-radius: 50%; background: #c91e2b; }
.di-nav { display: flex; align-items: center; gap: .9cqw; padding: 1.05cqw .85cqw; margin-bottom: .5cqw !important; border-radius: .9cqw; font-size: 1.45cqw; font-weight: 500; color: #697589; }
.di-nav > span { width: 1.8cqw; font-size: 2.1cqw; line-height: 1; text-align: center; }
.di-nav.is-active { color: #a91b29; background: #faeef0; }
.di-main { display: flex; flex: 1; flex-direction: column; min-width: 0; gap: 2cqw; padding: 3.1cqw 2.6cqw 2.6cqw; }
.di-top { display: flex; align-items: center; justify-content: space-between; gap: 1cqw; }
.di-kicker { font-size: 1.2cqw; font-weight: 500; color: #7b8799; letter-spacing: .12cqw; text-transform: uppercase; }
.di-title { margin-top: .5cqw !important; font-size: 3.1cqw; font-weight: 600; letter-spacing: -.1cqw; }
.di-example { padding: .7cqw 1cqw; border: .15cqw solid #dce2ea; border-radius: .6cqw; color: #758194; font-size: 1.15cqw; white-space: nowrap; }
.di-tiles { display: grid; grid-template-columns: 1.3fr 1fr .6fr; gap: 1.3cqw; }
.di-tile { min-height: 10.4cqw; padding: 1.65cqw 1.4cqw; border: .15cqw solid #e4e8ee; border-radius: 1.05cqw; background: #fff; }
.di-tile__label { font-size: 1.15cqw; color: #69778c; font-weight: 500; }
.di-tile__value { margin-top: .65cqw !important; font-size: 2.8cqw; line-height: 1.15; letter-spacing: -.12cqw; font-weight: 600; font-variant-numeric: tabular-nums; }
.di-tile--primary { background: #17243a; border-color: #17243a; }
.di-tile--primary .di-tile__label { color: #b8c3d3; }
.di-tile--primary .di-tile__value { color: #fff; }
.di-tile__gain { margin-top: .85cqw !important; color: #a7dac7; font-size: 1.15cqw; white-space: nowrap; }
.di-cards { flex: 1; min-height: 0; padding: .45cqw 1.6cqw; border: .15cqw solid #e4e8ee; border-radius: 1.2cqw; background: #fff; }
.di-row { display: flex; align-items: center; gap: 1.45cqw; min-height: 6.62cqw; padding: .73cqw 0; border-top: .15cqw solid #e9edf1; }
.di-row:first-child { border-top: 0; }
.di-row > img { flex: none; width: 3.35cqw; height: auto; border-radius: .3cqw; box-shadow: 0 .15cqw .4cqw #17243a29; }
.di-row__main { flex: 1; min-width: 0; }
.di-row__title { font-size: 1.63cqw; font-weight: 600; }
.di-row__set { margin-top: .35cqw !important; font-size: 1.18cqw; color: #7a8697; }
.di-condition { flex: none; padding: .4cqw .75cqw; border-radius: .5cqw; background: #f0f3f7; font-size: 1.12cqw; color: #657187; }
.di-row__amount { flex: none; min-width: 10.5cqw; text-align: right; font-variant-numeric: tabular-nums; }
.di-price { font-size: 1.7cqw; font-weight: 600; }
.di-gain { margin-top: .35cqw !important; font-size: 1.2cqw; color: #2f826b; }

@media (min-width: 960px) and (max-width: 1190px) {
  .hero-laptop { width: 70.6%; }
  .hero-iphone { width: 28%; }
}
@media (min-width: 640px) and (max-width: 959px) {
  .hero-visual.hero-devices { margin-top: 15px; padding-top: 18px; }
}
@media (max-width: 639px) {
  .hero-visual.hero-devices { padding: 27px 0 7px; }
  .devices-topline { margin-inline: 0; font-size: 7px; letter-spacing: .09em; }
  .hero-device-pair { container-type: inline-size; width: 100%; max-width: 380px; margin-inline: auto; }
  .hero-device-scene { height: calc(65cqw + 362px); }
  .hero-laptop { width: 91%; left: 3.5%; top: 22px; }
  .device-laptop__lid { border-radius: 8px 8px 3px 3px; }
  .hero-iphone { width: clamp(140px, 43%, 156px); right: 3%; bottom: 22px; }
  .devices-scene-note { position: absolute; left: 4%; top: calc(69cqw + 28px); display: flex; flex-direction: column; gap: 5px; font-size: 8px; color: #738196; letter-spacing: .1em; line-height: 1.4; }
  .devices-scene-note > i { height: 1px; width: 23px; background: #c91e2b; margin-block: 7px; }
  .devices-scene-note > small { font-size: 7px; letter-spacing: 0; color: #8490a1; }
  .devices-caption { font-size: 8px; max-width: 300px; margin-inline: auto; }
  .hero-device-scene::after { inset: auto 2% 3% 8%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-visual.hero-devices { transform: none !important; }
}
