/* Brand & Web hero — connected digital systems composition, 2026-09-18. Hardware geometry revision B.
   Premium device language is intentionally generic/Apple-inspired, not a literal Apple product replica. */

body.page-brand-market .brand-web-hero {
  overflow: hidden;
  padding-bottom: clamp(60px, 5.2vw, 82px) !important;
}

body.page-brand-market .brand-web-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(450px, .92fr);
  align-items: center;
  gap: clamp(44px, 5vw, 78px);
}

body.page-brand-market .brand-web-hero-copy { min-width: 0; }

body.page-brand-market .brand-web-hero h1 {
  max-width: 12.5ch !important;
  font-size: clamp(3rem, 4.15vw, 4.25rem) !important;
}

body.page-brand-market .brand-web-hero .lead { max-width: 64ch !important; }
body.page-brand-market .brand-web-hero .lead strong { color: #f5f8fb; font-weight: 750; }
body.page-brand-market .brand-web-hero .button-row { margin-top: 26px; }

.brand-device-stage {
  position: relative;
  min-width: 0;
  min-height: 520px;
  isolation: isolate;
}

.brand-device-glow {
  position: absolute;
  inset: 11% 0 2% 5%;
  z-index: -3;
  border-radius: 50%;
  background:
    radial-gradient(circle at 66% 31%, rgba(73, 205, 187, .17), transparent 42%),
    radial-gradient(circle at 27% 78%, rgba(231, 178, 82, .12), transparent 40%);
  filter: blur(26px);
}

/* A quiet architecture cue: the visible interface connects to an operating layer. */
.brand-system-rail {
  position: absolute;
  top: 0;
  right: 4%;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(144, 184, 206, .17);
  border-radius: 999px;
  background: rgba(7, 22, 35, .62);
  box-shadow: 0 12px 26px rgba(0, 7, 16, .16);
  color: #91aabc;
  font-size: 6.5px;
  font-weight: 760;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.brand-system-rail span:first-child { color: #73d7c7; }
.brand-system-rail i {
  width: 16px;
  height: 1px;
  background: linear-gradient(90deg, rgba(96, 211, 193, .66), rgba(231, 183, 93, .52));
}

/* Desktop display — graphite/aluminum proportions with a very thin bezel. */
.brand-device-desktop {
  position: absolute;
  top: 45px;
  right: 0;
  width: 98%;
  padding: 4px;
  border: 1px solid rgba(214, 225, 233, .35);
  border-radius: 23px;
  background: linear-gradient(150deg, #69717a 0%, #252f39 20%, #0e1721 72%, #48515b 100%);
  box-shadow:
    0 35px 78px rgba(0, 7, 16, .42),
    0 0 0 1px rgba(255,255,255,.04) inset,
    0 -1px 0 rgba(255,255,255,.09) inset;
}

.brand-device-desktop::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -24px;
  z-index: -1;
  width: 94px;
  height: 27px;
  border-radius: 0 0 18px 18px;
  background: linear-gradient(90deg, #28323c, #69727b 48%, #28313a);
  box-shadow: 0 14px 22px rgba(0,0,0,.24);
  transform: translateX(-50%) perspective(70px) rotateX(-5deg);
  clip-path: polygon(34% 0, 66% 0, 78% 100%, 22% 100%);
}

.desktop-camera {
  position: absolute;
  top: 3px;
  left: 50%;
  z-index: 4;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #141c23;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08);
  transform: translateX(-50%);
}

.brand-device-desktop-screen {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 18px;
  background: #0a1725;
}

.device-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 12px;
  color: #8da4b5;
  background: #122638;
  border-bottom: 1px solid rgba(169, 202, 224, .14);
}

.device-browser-bar > span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #f0be60;
}
.device-browser-bar > span:nth-child(2) { background: #54cdbb; }
.device-browser-bar > span:nth-child(3) { background: #6c8dff; }
.device-browser-bar b {
  margin-left: auto;
  margin-right: auto;
  font-size: 7px;
  font-weight: 650;
  letter-spacing: .04em;
}

.commerce-desktop-screen {
  min-height: 252px;
  padding: 14px;
  background: #f5f1e8;
  color: #13202b;
}

.commerce-topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 2px 11px;
  font-size: 7px;
  letter-spacing: .05em;
}

body.page-brand-market .brand-device-stage .commerce-topbar strong {
  margin-right: auto;
  color: #13202b !important;
  font-size: 10px;
  letter-spacing: .16em;
}
.commerce-topbar i { margin-left: auto; font-style: normal; font-weight: 700; }

.commerce-feature {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  min-height: 154px;
  overflow: hidden;
  border-radius: 13px;
  background: #d7c9b7;
  box-shadow: 0 1px 0 rgba(255,255,255,.45) inset;
}

.commerce-feature-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 20px 22px;
  background: linear-gradient(145deg, #172a30, #273f3f);
  color: #f8f4ea;
}
.commerce-feature-copy small {
  margin-bottom: 12px;
  color: #69d5c3;
  font-size: 6.5px;
  font-weight: 820;
  letter-spacing: .18em;
}
body.page-brand-market .brand-device-stage .commerce-feature-copy strong {
  max-width: 9.5ch;
  color: #f8f4ea !important;
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(19px, 1.7vw, 26px);
  line-height: 1.02;
  letter-spacing: -.04em;
}
.commerce-feature-copy em {
  margin-top: 13px;
  padding-bottom: 3px;
  border-bottom: 1px solid #e7b75d;
  font-size: 8px;
  font-style: normal;
  font-weight: 700;
}

.commerce-product-art {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 69% 27%, rgba(255,255,255,.76), transparent 29%),
    linear-gradient(145deg, #dfd4c6, #b9a188);
}
.commerce-product-art::before {
  content: "";
  position: absolute;
  inset: 18% 24% 10%;
  border-radius: 48% 48% 18% 18%;
  background: linear-gradient(160deg, #27363d, #0f191e);
  box-shadow: 14px 18px 30px rgba(32, 27, 22, .25);
  transform: rotate(-8deg);
}
.commerce-product-art::after {
  content: "";
  position: absolute;
  left: 39%;
  top: 13%;
  width: 27%;
  height: 17%;
  border: 5px solid #17242a;
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
  transform: rotate(-8deg);
}
.commerce-product-art span:first-child {
  position: absolute;
  right: 15%;
  bottom: 13%;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e6b95f;
  box-shadow: 0 8px 18px rgba(44, 31, 15, .22);
}
.commerce-product-art span:last-child {
  position: absolute;
  left: 9%;
  top: 13%;
  width: 46px;
  height: 72px;
  border: 1px solid rgba(255,255,255,.54);
  border-radius: 40px 40px 10px 10px;
  background: rgba(255,255,255,.2);
  transform: rotate(11deg);
}

.commerce-product-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 9px;
}
.commerce-product-row > div {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 8px;
  padding: 5px 7px;
  border: 1px solid #ddd4c8;
  border-radius: 8px;
  background: #fffdf8;
}
.commerce-product-row span {
  display: block;
  aspect-ratio: 1;
  border-radius: 5px;
  background: linear-gradient(145deg, #a0b9b1, #314a49);
}
.commerce-product-row > div:nth-child(2) span { background: linear-gradient(145deg, #ddbd78, #a7773f); }
.commerce-product-row > div:nth-child(3) span { background: linear-gradient(145deg, #c9c3bd, #766d66); }
.commerce-product-row b { font-size: 7px; line-height: 1.2; }

/* Tablet is the operational brain rather than a duplicate website. */
.brand-device-tablet {
  position: absolute;
  left: 2%;
  bottom: 0;
  z-index: 4;
  width: 39.5%;
  min-height: 264px;
  padding: 5px;
  border: 1px solid rgba(216, 226, 233, .35);
  border-radius: 23px;
  background: linear-gradient(145deg, #606a74, #171f27 28%, #08121b 78%, #3a444e);
  box-shadow:
    0 28px 58px rgba(0, 8, 18, .43),
    0 0 0 1px rgba(255,255,255,.04) inset;
}
.tablet-camera {
  position: absolute;
  top: 3px;
  left: 50%;
  z-index: 3;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #111921;
  transform: translateX(-50%);
}
.operations-dashboard {
  min-height: 252px;
  padding: 17px 13px 13px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f4f8f7 0%, #e9f0ee 100%);
  color: #173039;
  box-shadow: 0 1px 0 rgba(255,255,255,.78) inset;
}
.ops-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.operations-dashboard small {
  color: #237d72;
  font-size: 6.5px;
  font-weight: 850;
  letter-spacing: .13em;
}
.ops-head > span {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #46736c;
  font-size: 5.5px;
  font-weight: 800;
}
.ops-head > span i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #51cbb8;
  box-shadow: 0 0 0 3px rgba(81,203,184,.12);
}
body.page-brand-market .brand-device-stage .operations-dashboard > strong {
  display: block;
  margin-top: 10px;
  color: #173039 !important;
  font-size: 23px;
  letter-spacing: -.05em;
}
.operations-dashboard > em {
  display: block;
  margin-top: 1px;
  color: #728387;
  font-size: 6px;
  font-style: normal;
}
.ops-list {
  display: grid;
  gap: 6px;
  margin-top: 13px;
}
.ops-list > span {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 7px;
  min-height: 33px;
  padding: 6px 8px;
  border: 1px solid #d6e2df;
  border-radius: 9px;
  background: rgba(255,255,255,.79);
}
.ops-list b { color: #173039; font-size: 11px; }
.ops-list em { color: #66797d; font-size: 6px; font-style: normal; }
.ops-sync {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr;
  align-items: center;
  gap: 5px;
  margin-top: 9px;
  padding-top: 8px;
  border-top: 1px solid #cedbd8;
  color: #7a8b8e;
  font-size: 5.5px;
}
.ops-sync b { color: #237d72; font-size: 6px; }

/* Phone shows an actionable workflow rather than a smaller storefront. */
.brand-device-phone {
  position: absolute;
  right: 1.5%;
  bottom: -2px;
  z-index: 5;
  width: 20.5%;
  min-width: 100px;
  padding: 4px;
  border: 1px solid rgba(219, 229, 235, .38);
  border-radius: 27px;
  background: linear-gradient(145deg, #626d77, #19232c 28%, #07111a 78%, #3c4650);
  box-shadow:
    0 30px 58px rgba(0, 7, 15, .49),
    0 0 0 1px rgba(255,255,255,.04) inset;
}
.phone-speaker {
  position: absolute;
  top: 6px;
  left: 50%;
  z-index: 3;
  width: 27px;
  height: 3px;
  border-radius: 8px;
  background: #0a1118;
  box-shadow: 0 0 0 1px rgba(255,255,255,.035);
  transform: translateX(-50%);
}
.workflow-phone-screen {
  min-height: 232px;
  padding: 16px 8px 9px;
  overflow: hidden;
  border-radius: 22px;
  background: #f5f7f4;
  color: #14242d;
}
.phone-brand {
  display: flex;
  justify-content: space-between;
  margin-bottom: 13px;
  font-size: 5.5px;
  font-weight: 850;
  letter-spacing: .12em;
}
.phone-brand span { color: #288f80; }
.workflow-phone-screen > small {
  color: #288f80;
  font-size: 5px;
  font-weight: 850;
  letter-spacing: .12em;
}
body.page-brand-market .brand-device-stage .workflow-phone-screen > strong {
  display: block;
  margin-top: 5px;
  color: #14242d !important;
  font-size: 10px;
  line-height: 1.12;
}
.workflow-phone-screen > p {
  margin: 4px 0 10px;
  color: #7b898b;
  font-size: 6px;
}
.workflow-steps {
  display: grid;
  gap: 6px;
}
.workflow-steps span {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 7px;
  border: 1px solid #dae3e0;
  border-radius: 8px;
  background: #fff;
  color: #52666a;
  font-size: 5.8px;
  font-weight: 720;
}
.workflow-steps i {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #52cbbb;
  box-shadow: 0 0 0 3px rgba(82,203,187,.11);
}
.workflow-steps .ready i { background: #e8b659; box-shadow: 0 0 0 3px rgba(232,182,89,.12); }
.workflow-phone-screen > b {
  display: block;
  margin-top: 10px;
  padding: 7px 4px;
  border-radius: 8px;
  background: #19363a;
  color: #fff;
  font-size: 6px;
  text-align: center;
}

/* The status panel makes the invisible operating layer legible without becoming a flowchart. */
.brand-device-status {
  position: absolute;
  right: 23.5%;
  bottom: 18px;
  z-index: 6;
  width: 120px;
  padding: 10px 11px 9px;
  border: 1px solid rgba(142, 191, 205, .28);
  border-radius: 14px;
  background: rgba(8, 27, 42, .96);
  box-shadow: 0 17px 34px rgba(0, 7, 15, .34);
  color: #d2dee8;
  backdrop-filter: blur(8px);
}
.brand-device-status small {
  display: block;
  margin-bottom: 7px;
  color: #8199aa;
  font-size: 5.5px;
  font-weight: 850;
  letter-spacing: .12em;
}
.brand-device-status > span {
  display: grid;
  grid-template-columns: 6px 1fr auto;
  align-items: center;
  gap: 5px;
  padding: 3px 0;
  font-size: 5.5px;
}
.brand-device-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #58d3c0;
  box-shadow: 0 0 0 3px rgba(88, 211, 192, .1);
}
.brand-device-status b { color: #dce8ef; font-size: 5.7px; font-weight: 760; }
.brand-device-status em { color: #67d2c1; font-size: 5.4px; font-style: normal; }
.brand-device-status > span:nth-of-type(2) i { background: #e9b95d; box-shadow: 0 0 0 3px rgba(233,185,93,.1); }
.brand-device-status > span:nth-of-type(2) em { color: #e9c57f; }

.brand-device-caption {
  position: absolute;
  left: 44%;
  bottom: -20px;
  z-index: 1;
  color: #668093;
  font-size: 6px;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 1120px) {
  body.page-brand-market .brand-web-hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(380px, .82fr);
    gap: 36px;
  }
  body.page-brand-market .brand-web-hero h1 { font-size: clamp(2.8rem, 4.8vw, 3.7rem) !important; }
  .brand-device-stage { min-height: 480px; }
  .brand-device-desktop { width: 98%; }
  .commerce-desktop-screen { min-height: 238px; }
  .commerce-feature { min-height: 145px; }
  .brand-device-tablet { width: 40%; min-height: 244px; }
  .operations-dashboard { min-height: 234px; }
  .brand-device-phone { right: 1%; width: 21%; min-width: 96px; }
  .workflow-phone-screen { min-height: 214px; }
  .brand-device-status { right: 24%; bottom: 14px; }
}

@media (max-width: 900px) {
  body.page-brand-market .brand-web-hero-layout { grid-template-columns: 1fr; gap: 34px; }
  body.page-brand-market .brand-web-hero-copy { max-width: 760px; }
  body.page-brand-market .brand-web-hero h1 {
    max-width: 14ch !important;
    font-size: clamp(2.7rem, 7.4vw, 4.3rem) !important;
  }
  .brand-device-stage {
    width: min(100%, 670px);
    min-height: 510px;
    margin-inline: auto;
  }
}

@media (max-width: 620px) {
  body.page-brand-market .brand-web-hero { padding-bottom: 50px !important; }
  body.page-brand-market .brand-web-hero h1 { font-size: clamp(2.35rem, 11vw, 3.25rem) !important; }
  .brand-device-stage { min-height: 372px; margin-top: 4px; }
  .brand-system-rail { right: 2%; gap: 4px; padding: 5px 7px; font-size: 5px; }
  .brand-system-rail i { width: 8px; }
  .brand-device-desktop {
    top: 32px;
    width: 98%;
    padding: 3px;
    border-radius: 16px;
    box-shadow: 0 24px 52px rgba(0, 8, 18, .36);
  }
  .brand-device-desktop-screen { border-radius: 13px; }
  .brand-device-desktop::after { bottom: -16px; width: 68px; height: 19px; }
  .device-browser-bar { height: 22px; padding-inline: 8px; }
  .commerce-desktop-screen { min-height: 190px; padding: 9px; }
  .commerce-topbar { gap: 8px; }
  .commerce-topbar span:nth-of-type(2), .commerce-topbar span:nth-of-type(3) { display: none; }
  .commerce-feature { min-height: 118px; border-radius: 8px; }
  .commerce-feature-copy { padding: 15px; }
  .commerce-feature-copy strong { font-size: 17px; }
  .commerce-feature-copy em { margin-top: 12px; }
  .commerce-product-row > div { grid-template-columns: 25px 1fr; padding: 4px; }
  .commerce-product-row b { font-size: 5px; }

  .brand-device-tablet { left: 2%; width: 40%; min-height: 188px; padding: 4px; border-radius: 17px; }
  .operations-dashboard { min-height: 178px; padding: 12px 8px 9px; border-radius: 14px; }
  .operations-dashboard > strong { margin-top: 5px; font-size: 16px !important; }
  .operations-dashboard > em { font-size: 5px; }
  .ops-list { gap: 4px; margin-top: 7px; }
  .ops-list > span { grid-template-columns: 23px 1fr; min-height: 25px; padding: 4px 5px; border-radius: 6px; }
  .ops-list b { font-size: 8px; }
  .ops-list em { font-size: 4.6px; }
  .ops-sync { margin-top: 5px; padding-top: 5px; font-size: 4.5px; }
  .ops-sync b { font-size: 4.7px; }

  .brand-device-phone { right: 0; width: 21%; min-width: 76px; padding: 3px; border-radius: 20px; }
  .workflow-phone-screen { min-height: 176px; padding: 12px 5px 6px; border-radius: 17px; }
  .phone-speaker { top: 5px; width: 23px; height: 3px; }
  .phone-brand { margin-bottom: 7px; font-size: 4.5px; }
  .workflow-phone-screen > strong { font-size: 7px !important; }
  .workflow-phone-screen > p { margin: 2px 0 6px; font-size: 4.5px; }
  .workflow-steps { gap: 3px; }
  .workflow-steps span { gap: 4px; padding: 4px; border-radius: 5px; font-size: 4.5px; }
  .workflow-steps i { width: 4px; height: 4px; }
  .workflow-phone-screen > b { margin-top: 6px; padding: 5px 3px; font-size: 4.7px; }
  .brand-device-status { right: 23%; bottom: 9px; width: 87px; padding: 7px; border-radius: 9px; }
  .brand-device-status small { margin-bottom: 4px; font-size: 4.3px; }
  .brand-device-status > span { grid-template-columns: 5px 1fr auto; gap: 3px; padding: 2px 0; }
  .brand-device-status b, .brand-device-status em { font-size: 4.3px; }
  .brand-device-caption { left: 43%; bottom: -15px; font-size: 4.6px; }
}

@media (max-width: 420px) {
  .brand-device-stage { min-height: 334px; }
  .brand-system-rail { display: none; }
  .commerce-product-row { display: none; }
  .commerce-desktop-screen { min-height: 172px; }
  .commerce-feature { min-height: 156px; }
  .brand-device-tablet { width: 40%; }
  .brand-device-phone { width: 22%; }
  .brand-device-status { display: none; }
  .brand-device-caption { left: auto; right: 0; bottom: -12px; }
}
